From d61c67070536fbddcf2fae7f2f5515da9659dc01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Tue, 3 Oct 2017 20:59:10 +0200 Subject: src/mainboard/Kconfig: Add support for 10240 KiB ROM chips MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/21863 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Arthur Heymans --- src/mainboard/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3