diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2017-10-03 20:59:10 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-10-05 17:53:16 +0000 |
commit | d61c67070536fbddcf2fae7f2f5515da9659dc01 (patch) | |
tree | f989060ac2270dffb648b00e8f7022f656a8fb07 /src/mainboard/Kconfig | |
parent | 7f72c641957344e05176b7f31b0fffca434f4be7 (diff) | |
download | coreboot-d61c67070536fbddcf2fae7f2f5515da9659dc01.tar.xz |
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>
Diffstat (limited to 'src/mainboard/Kconfig')
-rw-r--r-- | src/mainboard/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig index 47338ace83..04dca4adf5 100644 --- a/src/mainboard/Kconfig +++ b/src/mainboard/Kconfig @@ -29,6 +29,8 @@ config BOARD_ROMSIZE_KB_4096 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 @@ choice 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 @@ config COREBOOT_ROMSIZE_KB_8192 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 @@ config COREBOOT_ROMSIZE_KB 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 @@ config ROM_SIZE 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 |