Jonathan Neuschäfer has uploaded this change for review. ( https://review.coreboot.org/21863
Change subject: src/mainboard/Kconfig: Add support for 10240 KiB ROM chips ......................................................................
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 --- M src/mainboard/Kconfig 1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/63/21863/1
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig index 47338ac..04dca4a 100644 --- a/src/mainboard/Kconfig +++ b/src/mainboard/Kconfig @@ -29,6 +29,8 @@ bool config BOARD_ROMSIZE_KB_8192 bool +config BOARD_ROMSIZE_KB_10240 + bool config BOARD_ROMSIZE_KB_12288 bool config BOARD_ROMSIZE_KB_16384 @@ -49,6 +51,7 @@ default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048 default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096 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_16384 if BOARD_ROMSIZE_KB_16384 default COREBOOT_ROMSIZE_KB_32768 if BOARD_ROMSIZE_KB_32768 @@ -99,6 +102,11 @@ help 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 bool "12288 KB (12 MB)" help @@ -132,6 +140,7 @@ default 2048 if COREBOOT_ROMSIZE_KB_2048 default 4096 if COREBOOT_ROMSIZE_KB_4096 default 8192 if COREBOOT_ROMSIZE_KB_8192 + default 10240 if COREBOOT_ROMSIZE_KB_10240 default 12288 if COREBOOT_ROMSIZE_KB_12288 default 16384 if COREBOOT_ROMSIZE_KB_16384 default 32768 if COREBOOT_ROMSIZE_KB_32768 @@ -148,6 +157,7 @@ default 0x200000 if COREBOOT_ROMSIZE_KB_2048 default 0x400000 if COREBOOT_ROMSIZE_KB_4096 default 0x800000 if COREBOOT_ROMSIZE_KB_8192 + default 0xa00000 if COREBOOT_ROMSIZE_KB_10240 default 0xc00000 if COREBOOT_ROMSIZE_KB_12288 default 0x1000000 if COREBOOT_ROMSIZE_KB_16384 default 0x2000000 if COREBOOT_ROMSIZE_KB_32768