switch-coreboot/console/Kconfig
Stefan Reinauer b19bf330cf * add config options for serial port and speed
* add license header to console/vtxprintf.c and arch/x86/serial.c
* clean out dead code from console/vtxprintf.c
* adapt arch/x86/serial.c to CONFIG_ stuff
* actually include config.h in CFLAGS

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>




git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@104 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 13:55:28 +00:00

76 lines
1.3 KiB
Text

#
#
#
menu "Console"
config CONSOLE_SERIAL
boolean "Support serial console (default)"
default y
---help---
Send LinuxBIOS 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.
config CONSOLE_SERIAL_COM2
bool "COM2/ttyS1"
---help---
Serial console on COM2.
endchoice
choice
prompt "Serial console speed"
default CONSOLE_SERIAL_115200
depends CONSOLE_SERIAL
config CONSOLE_SERIAL_115200
bool "115200 bps"
---help---
Set speed to 115200 bps.
config CONSOLE_SERIAL_57600
bool "57600 bps"
---help---
Set speed to 57600 bps.
config CONSOLE_SERIAL_38400
bool "38400 bps"
---help---
Set speed to 38400 bps.
config CONSOLE_SERIAL_19200
bool "19200 bps"
---help---
Set speed to 19200 bps.
config CONSOLE_SERIAL_9600
bool "9600 bps"
---help---
Set speed to 9600 bps.
endchoice
config CONSOLE_VGA
boolean "Support VGA console"
---help---
Send LinuxBIOS output to VGA console as soon as VGA
is initialized.
config CONSOLE_USB
boolean "Support USB2 debug console"
---help---
Send LinuxBIOS output to USB debug console. Note: This requires
a USB2 controller which supports the debug capability.
endmenu