switch-coreboot/Kconfig
Stefan Reinauer 1e384b3bb9 Rework payload handling to only provide two options:
- Payload file
  - No payload

Document the current procedure in the README.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@350 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-06-09 17:43:26 +00:00

111 lines
3.2 KiB
Text

##
## This file is part of the LinuxBIOS project.
##
## Copyright (C) 2006 Ronald G. Minnich <rminnich@gmail.com>
## Copyright (C) 2006 Segher Boessenkool <segher@kernel.crashing.org>
## Copyright (C) 2006-2007 Uwe Hermann <uwe@hermann-uwe.de>
## Copyright (C) 2006-2007 coresystems GmbH
## (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH)
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
#
# 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.
config BEEPS
bool "Enable beeps upon certain LinuxBIOS events"
depends EXPERT
default n
help
Enable this option to make LinuxBIOS beep upon certain events.
endmenu
source mainboard/Kconfig
source arch/Kconfig
source lib/Kconfig
source device/Kconfig
# These are used for internal purposes only.
source northbridge/Kconfig
source southbridge/Kconfig
source superio/Kconfig
menu "Payload"
choice
prompt "Payload type"
default PAYLOAD_NONE
config PAYLOAD_ELF
bool "An ELF executable payload file"
help
Select this option if you have a payload image (an ELF file)
which LinuxBIOS should run as soon as the basic hardware
initialization is completed.
You will be able to specify the location and file name of the
payload image later.
config PAYLOAD_NONE
bool "No payload"
help
Select this option if you want to create an "empty" LinuxBIOS
ROM image for a certain mainboard, i.e. a LinuxBIOS ROM image
which does not yet contain a payload.
For such an image to be useful, you have to use the 'lar' tool
to add a payload to the ROM image later.
endchoice
config PAYLOAD_FILE
string "Payload path and filename"
depends PAYLOAD_ELF
default "payload.elf"
help
The path and filename of the ELF executable file to use as payload.
endmenu