src/mainboard/Kconfig: Add support for 10240 KiB ROM chips
The Dell Optiplex 790 desktop board has a logical 10MiB flash, so it needs to select BOARD_ROMSIZE_KB_10240. Provide it, so it can be used. Change-Id: I6365b0cda67fa1213c20337890157e5d658094d1 Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/21863 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
committed by
Martin Roth
parent
7f72c64195
commit
d61c670705
@@ -29,6 +29,8 @@ config BOARD_ROMSIZE_KB_4096
|
|||||||
bool
|
bool
|
||||||
config BOARD_ROMSIZE_KB_8192
|
config BOARD_ROMSIZE_KB_8192
|
||||||
bool
|
bool
|
||||||
|
config BOARD_ROMSIZE_KB_10240
|
||||||
|
bool
|
||||||
config BOARD_ROMSIZE_KB_12288
|
config BOARD_ROMSIZE_KB_12288
|
||||||
bool
|
bool
|
||||||
config BOARD_ROMSIZE_KB_16384
|
config BOARD_ROMSIZE_KB_16384
|
||||||
@@ -49,6 +51,7 @@ choice
|
|||||||
default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
|
default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
|
||||||
default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
|
default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
|
||||||
default COREBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
|
default COREBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
|
||||||
|
default COREBOOT_ROMSIZE_KB_10240 if BOARD_ROMSIZE_KB_10240
|
||||||
default COREBOOT_ROMSIZE_KB_12288 if BOARD_ROMSIZE_KB_12288
|
default COREBOOT_ROMSIZE_KB_12288 if BOARD_ROMSIZE_KB_12288
|
||||||
default COREBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384
|
default COREBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384
|
||||||
default COREBOOT_ROMSIZE_KB_32768 if BOARD_ROMSIZE_KB_32768
|
default COREBOOT_ROMSIZE_KB_32768 if BOARD_ROMSIZE_KB_32768
|
||||||
@@ -99,6 +102,11 @@ config COREBOOT_ROMSIZE_KB_8192
|
|||||||
help
|
help
|
||||||
Choose this option if you have a 8192 KB (8 MB) ROM chip.
|
Choose this option if you have a 8192 KB (8 MB) ROM chip.
|
||||||
|
|
||||||
|
config COREBOOT_ROMSIZE_KB_10240
|
||||||
|
bool "10240 KB (10 MB)"
|
||||||
|
help
|
||||||
|
Choose this option if you have a 10240 KB (10 MB) ROM chip.
|
||||||
|
|
||||||
config COREBOOT_ROMSIZE_KB_12288
|
config COREBOOT_ROMSIZE_KB_12288
|
||||||
bool "12288 KB (12 MB)"
|
bool "12288 KB (12 MB)"
|
||||||
help
|
help
|
||||||
@@ -132,6 +140,7 @@ config COREBOOT_ROMSIZE_KB
|
|||||||
default 2048 if COREBOOT_ROMSIZE_KB_2048
|
default 2048 if COREBOOT_ROMSIZE_KB_2048
|
||||||
default 4096 if COREBOOT_ROMSIZE_KB_4096
|
default 4096 if COREBOOT_ROMSIZE_KB_4096
|
||||||
default 8192 if COREBOOT_ROMSIZE_KB_8192
|
default 8192 if COREBOOT_ROMSIZE_KB_8192
|
||||||
|
default 10240 if COREBOOT_ROMSIZE_KB_10240
|
||||||
default 12288 if COREBOOT_ROMSIZE_KB_12288
|
default 12288 if COREBOOT_ROMSIZE_KB_12288
|
||||||
default 16384 if COREBOOT_ROMSIZE_KB_16384
|
default 16384 if COREBOOT_ROMSIZE_KB_16384
|
||||||
default 32768 if COREBOOT_ROMSIZE_KB_32768
|
default 32768 if COREBOOT_ROMSIZE_KB_32768
|
||||||
@@ -148,6 +157,7 @@ config ROM_SIZE
|
|||||||
default 0x200000 if COREBOOT_ROMSIZE_KB_2048
|
default 0x200000 if COREBOOT_ROMSIZE_KB_2048
|
||||||
default 0x400000 if COREBOOT_ROMSIZE_KB_4096
|
default 0x400000 if COREBOOT_ROMSIZE_KB_4096
|
||||||
default 0x800000 if COREBOOT_ROMSIZE_KB_8192
|
default 0x800000 if COREBOOT_ROMSIZE_KB_8192
|
||||||
|
default 0xa00000 if COREBOOT_ROMSIZE_KB_10240
|
||||||
default 0xc00000 if COREBOOT_ROMSIZE_KB_12288
|
default 0xc00000 if COREBOOT_ROMSIZE_KB_12288
|
||||||
default 0x1000000 if COREBOOT_ROMSIZE_KB_16384
|
default 0x1000000 if COREBOOT_ROMSIZE_KB_16384
|
||||||
default 0x2000000 if COREBOOT_ROMSIZE_KB_32768
|
default 0x2000000 if COREBOOT_ROMSIZE_KB_32768
|
||||||
|
Reference in New Issue
Block a user