diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2007-03-05 22:22:54 +0000 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2007-03-05 22:22:54 +0000 |
commit | d4266c0bd35b0e28e747fe683051fbf8a57f565e (patch) | |
tree | 35b7dc25b8aa86813003ea1ba7d1d051210f31bf /Kconfig | |
parent | 689a938ca6eee463146496267aec10a53b1736af (diff) | |
download | coreboot-d4266c0bd35b0e28e747fe683051fbf8a57f565e.tar.gz coreboot-d4266c0bd35b0e28e747fe683051fbf8a57f565e.tar.bz2 coreboot-d4266c0bd35b0e28e747fe683051fbf8a57f565e.zip |
Do not hard-code the ROM chip size, but rather let the user choose
it via Kconfig (select box with some common values).
The default is 256 KB.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@196 f3766cd6-281f-0410-b1cd-43a5c92072e9
Diffstat (limited to 'Kconfig')
-rw-r--r-- | Kconfig | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -30,6 +30,47 @@ config LOCALVERSION help Append an extra string to the end of the LinuxBIOS version. +choice + prompt "ROM chip size" + default LINUXBIOS_ROMSIZE_KB_256 + +config LINUXBIOS_ROMSIZE_KB_128 + bool "128 KB" + help + Choose this option if you have a 128 KB ROM chip. + +config LINUXBIOS_ROMSIZE_KB_256 + bool "256 KB" + help + Choose this option if you have a 256 KB ROM chip. + +config LINUXBIOS_ROMSIZE_KB_512 + bool "512 KB" + help + Choose this option if you have a 512 KB ROM chip. + +config LINUXBIOS_ROMSIZE_KB_1024 + bool "1024 KB (1 MB)" + help + Choose this option if you have a 1 MB (1024 KB) ROM chip. + +config LINUXBIOS_ROMSIZE_KB_2048 + bool "2048 KB (2 MB)" + help + Choose this option if you have a 2 MB (2048 KB) ROM chip. + +endchoice + +config LINUXBIOS_ROMSIZE_KB + int + default 128 if LINUXBIOS_ROMSIZE_KB_128 + default 256 if LINUXBIOS_ROMSIZE_KB_256 + default 512 if LINUXBIOS_ROMSIZE_KB_512 + default 1024 if LINUXBIOS_ROMSIZE_KB_1024 + default 2048 if LINUXBIOS_ROMSIZE_KB_2048 + help + Map the config names to an integer. + endmenu source mainboard/Kconfig |