mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
EXPERT seemed like the best fit. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Peter Stuge <peter@stuge.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://coreboot.org/repository/coreboot-v3@921 f3766cd6-281f-0410-b1cd-43a5c92072e9
245 lines
5.5 KiB
Text
245 lines
5.5 KiB
Text
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright (C) 2007 coresystems GmbH
|
|
## (Written by Stefan Reinauer <stepan@coresystems.de> for coresystems GmbH)
|
|
## Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
|
|
##
|
|
## 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; either version 2 of the License, or
|
|
## (at your option) any later version.
|
|
##
|
|
## 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
|
|
##
|
|
|
|
menu "Compression"
|
|
|
|
config COMPRESSION_LZMA
|
|
boolean "Support LZMA compression"
|
|
default y
|
|
help
|
|
This is the preferred compression method, as LZMA reaches
|
|
very good compression rates with a small memory footprint.
|
|
|
|
config COMPRESSION_NRV2B
|
|
boolean "Support NRV2B compression"
|
|
help
|
|
This compression method has a smaller memory footprint than
|
|
LZMA but also significantly worse compression results.
|
|
|
|
choice
|
|
prompt "Default compression method"
|
|
default DEFAULT_COMPRESSION_LZMA
|
|
|
|
config DEFAULT_COMPRESSION_LZMA
|
|
bool "LZMA compression"
|
|
depends COMPRESSION_LZMA
|
|
help
|
|
Choose this option as a default.
|
|
|
|
config DEFAULT_COMPRESSION_NRV2B
|
|
bool "NRV2B compression"
|
|
depends COMPRESSION_NRV2B
|
|
help
|
|
Choose this option if you have a flash chip which is large enough.
|
|
|
|
config DEFAULT_COMPRESSION_NONE
|
|
bool "No compression"
|
|
help
|
|
Do not compress any coreboot modules per default.
|
|
|
|
endchoice
|
|
|
|
endmenu
|
|
|
|
menu "Console"
|
|
|
|
config CONSOLE
|
|
bool "Console support"
|
|
default y
|
|
help
|
|
Support for various types of (debugging) consoles.
|
|
|
|
config CONSOLE_PREPEND_LOG_LEVEL
|
|
boolean "Prepend log level to messages"
|
|
default n
|
|
depends CONSOLE && EXPERT
|
|
|
|
choice
|
|
prompt "Console log level"
|
|
default CONSOLE_LOGLEVEL_8
|
|
depends CONSOLE
|
|
|
|
config CONSOLE_LOGLEVEL_8
|
|
bool "BIOS_SPEW"
|
|
help
|
|
Way too many details.
|
|
|
|
config CONSOLE_LOGLEVEL_7
|
|
bool "BIOS_DEBUG"
|
|
help
|
|
Debug-level messages.
|
|
|
|
config CONSOLE_LOGLEVEL_6
|
|
bool "BIOS_INFO"
|
|
help
|
|
Informational messages.
|
|
|
|
config CONSOLE_LOGLEVEL_5
|
|
bool "BIOS_NOTICE"
|
|
help
|
|
Normal but significant conditions.
|
|
|
|
config CONSOLE_LOGLEVEL_4
|
|
bool "BIOS_WARNING"
|
|
help
|
|
Warning conditions.
|
|
|
|
config CONSOLE_LOGLEVEL_3
|
|
bool "BIOS_ERR"
|
|
help
|
|
Error conditions.
|
|
|
|
config CONSOLE_LOGLEVEL_2
|
|
bool "BIOS_CRIT"
|
|
help
|
|
Critical conditions.
|
|
|
|
config CONSOLE_LOGLEVEL_1
|
|
bool "BIOS_ALERT"
|
|
help
|
|
Action must be taken immediately.
|
|
|
|
config CONSOLE_LOGLEVEL_0
|
|
bool "BIOS_EMERG"
|
|
help
|
|
System is unusable.
|
|
|
|
endchoice
|
|
|
|
config DEFAULT_CONSOLE_LOGLEVEL
|
|
int
|
|
default 0 if CONSOLE_LOGLEVEL_0
|
|
default 1 if CONSOLE_LOGLEVEL_1
|
|
default 2 if CONSOLE_LOGLEVEL_2
|
|
default 3 if CONSOLE_LOGLEVEL_3
|
|
default 4 if CONSOLE_LOGLEVEL_4
|
|
default 5 if CONSOLE_LOGLEVEL_5
|
|
default 6 if CONSOLE_LOGLEVEL_6
|
|
default 7 if CONSOLE_LOGLEVEL_7
|
|
default 8 if CONSOLE_LOGLEVEL_8
|
|
help
|
|
Map the log level config names to an integer.
|
|
|
|
config CONSOLE_SERIAL
|
|
boolean "Serial console support"
|
|
default y
|
|
depends CONSOLE
|
|
help
|
|
Send coreboot output to serial console.
|
|
|
|
choice
|
|
prompt "Serial console COM port"
|
|
default CONSOLE_SERIAL_COM1
|
|
depends CONSOLE_SERIAL
|
|
|
|
config CONSOLE_SERIAL_COM1
|
|
bool "COM1/ttyS0"
|
|
help
|
|
Serial console on COM1/ttyS0.
|
|
|
|
config CONSOLE_SERIAL_COM2
|
|
bool "COM2/ttyS1"
|
|
help
|
|
Serial console on COM2/ttyS1.
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Serial console speed"
|
|
default CONSOLE_SERIAL_115200
|
|
depends CONSOLE_SERIAL
|
|
|
|
config CONSOLE_SERIAL_115200
|
|
bool "115200 bps"
|
|
help
|
|
Set serial console speed to 115200 bps.
|
|
|
|
config CONSOLE_SERIAL_57600
|
|
bool "57600 bps"
|
|
help
|
|
Set serial console speed to 57600 bps.
|
|
|
|
config CONSOLE_SERIAL_38400
|
|
bool "38400 bps"
|
|
help
|
|
Set serial console speed to 38400 bps.
|
|
|
|
config CONSOLE_SERIAL_19200
|
|
bool "19200 bps"
|
|
help
|
|
Set serial console speed to 19200 bps.
|
|
|
|
config CONSOLE_SERIAL_9600
|
|
bool "9600 bps"
|
|
help
|
|
Set serial console speed to 9600 bps.
|
|
|
|
endchoice
|
|
|
|
config CONSOLE_USB
|
|
boolean "USB2 console support (EXPERIMENTAL)"
|
|
depends CONSOLE && EXPERIMENTAL
|
|
help
|
|
Send coreboot output to USB2 (EHCI) console.
|
|
|
|
Note: This requires a USB2 controller which supports the EHCI
|
|
Debug Port capability. Controllers which are known to work:
|
|
|
|
* 10b9:5239 ALi Corporation USB 2.0 (USB PCI card)
|
|
* 8086:24cd Intel ICH4/ICH4-M
|
|
* 8086:24dd Intel ICH5
|
|
* 8086:265c Intel ICH6
|
|
* 8086:268c Intel 631xESB/632xESB/3100
|
|
* 8086:27cc Intel ICH7
|
|
* 8086:2836 Intel ICH8
|
|
* 8086:283a Intel ICH8
|
|
* 8086:293a Intel ICH9
|
|
* 10de:0088 NVIDIA MCP2A
|
|
* 10de:005b NVIDIA CK804
|
|
* 10de:026e NVIDIA MCP51
|
|
* 10de:036d NVIDIA MCP55
|
|
* 10de:03f2 NVIDIA MCP61
|
|
* 1002:4386 ATI/AMD SB600
|
|
* 1106:3104 VIA VX800
|
|
|
|
See http://www.coreboot.org/EHCI_Debug_Port for an up-to-date list.
|
|
|
|
comment "Cosmetic console options"
|
|
depends EXPERT && (CONSOLE_SERIAL || CONSOLE_USB)
|
|
|
|
config CONSOLE_PREFIX
|
|
bool "Prefix all console output with '(CB)'"
|
|
depends EXPERT && (CONSOLE_SERIAL || CONSOLE_USB)
|
|
default n
|
|
help
|
|
When you enable this option, coreboot will prefix each line of
|
|
console output with '(CB)'.
|
|
|
|
config CONSOLE_BUFFER
|
|
boolean "Console memory buffer support"
|
|
default y
|
|
depends CONSOLE
|
|
help
|
|
Save coreboot output in a memory buffer.
|
|
|
|
endmenu
|
|
|