coreboot/Kconfig
Stefan Reinauer d4266c0bd3 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
2007-03-05 22:22:54 +00:00

90 lines
2.1 KiB
Text

#
# For a description of the syntax of this configuration file,
# see http://lxr.linux.no/source/Documentation/kbuild/kconfig-language.txt.
#
mainmenu "LinuxBIOS Configuration"
menu "General setup"
config EXPERIMENTAL
bool "Prompt for development and/or incomplete code/mainboards"
---help---
Enable this option if you want to test development features or
incomplete/unsupported mainboards.
We do not make any guarantees about anything that is marked
as EXPERIMENTAL! You have been warned!
config EXPERT
bool "Expert mode"
---help---
This allows you to select certain advanced configuration options.
It is mainly intended for LinuxBIOS developers.
Warning: Only enable this option if you really know what you're
doing! You have been warned!
config LOCALVERSION
string "Local version - append to LinuxBIOS release"
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
source arch/Kconfig
source lib/Kconfig
source console/Kconfig
menu "Payload"
config PAYLOAD
string "Payload path and filename"
default "filo.elf"
help
The path and filename of the LinuxBIOS payload to use.
endmenu