diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-10-16 17:37:20 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-10-16 17:37:20 +0000 |
commit | d65509de14d95ccc7c9928c789d903098083fb23 (patch) | |
tree | 6ef7ba52f8cc2ef4e73d72174a66432d12cdd232 /src/mainboard/Kconfig | |
parent | 04b9b92952d0e9f4b520fa9f1512daf5608f080b (diff) | |
download | coreboot-d65509de14d95ccc7c9928c789d903098083fb23.tar.xz |
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 <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4790 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/Kconfig')
-rw-r--r-- | src/mainboard/Kconfig | 20 |
1 files changed, 19 insertions, 1 deletions
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. |