From d65509de14d95ccc7c9928c789d903098083fb23 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 16 Oct 2009 17:37:20 +0000 Subject: Set default ROM sizes per-board to match the ROM chip that came with the respective board. Of course, the user can still override the size in menuconfig. Signed-off-by: Uwe Hermann Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4790 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/Kconfig | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'src/mainboard/Kconfig') diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig index a96b42a986..d10936af34 100644 --- a/src/mainboard/Kconfig +++ b/src/mainboard/Kconfig @@ -370,10 +370,28 @@ source "src/mainboard/thomson/Kconfig" source "src/mainboard/tyan/Kconfig" source "src/mainboard/via/Kconfig" +config BOARD_ROMSIZE_KB_128 + bool +config BOARD_ROMSIZE_KB_256 + bool +config BOARD_ROMSIZE_KB_512 + bool +config BOARD_ROMSIZE_KB_1024 + bool +config BOARD_ROMSIZE_KB_2048 + bool +config BOARD_ROMSIZE_KB_4096 + bool + # TODO: No help text possible for choice fields? choice prompt "ROM chip size" - default COREBOOT_ROMSIZE_KB_256 + default COREBOOT_ROMSIZE_KB_128 if BOARD_ROMSIZE_KB_128 + default COREBOOT_ROMSIZE_KB_256 if BOARD_ROMSIZE_KB_256 + default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512 + default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024 + default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048 + default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096 help Select the size of the ROM chip you intend to flash coreboot on. -- cgit v1.2.3