Rename CONSOLE_SERIAL_TAG to CONSOLE_PREFIX, as "prefix" is a clearer
name and the option is not only valid for the serial console. Make CONSOLE_PREFIX an EXPERT option, as most people will not usually change it. Put the option under a "Cosmetic console options" subheading, as more such options will probably follow... Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@221 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
7aea5bafcc
commit
9485c81699
2 changed files with 12 additions and 9 deletions
|
|
@ -20,7 +20,7 @@ void console_tx_byte(unsigned char byte)
|
|||
{
|
||||
if (byte == '\n') {
|
||||
uart8250_tx_byte(TTYSx_BASE, '\r');
|
||||
#if defined(CONFIG_CONSOLE_SERIAL_TAG) && (CONFIG_CONSOLE_SERIAL_TAG == 1)
|
||||
#if defined(CONFIG_CONSOLE_PREFIX) && (CONFIG_CONSOLE_PREFIX == 1)
|
||||
uart8250_tx_byte(TTYSx_BASE, '\n');
|
||||
uart8250_tx_byte(TTYSx_BASE, '(');
|
||||
uart8250_tx_byte(TTYSx_BASE, 'L');
|
||||
|
|
|
|||
|
|
@ -128,14 +128,6 @@ config CONSOLE_SERIAL_9600
|
|||
|
||||
endchoice
|
||||
|
||||
config CONSOLE_SERIAL_TAG
|
||||
bool "Tag serial console output"
|
||||
depends CONSOLE_SERIAL
|
||||
default n
|
||||
help
|
||||
When you enable this option, LinuxBIOS will prefix each line of
|
||||
serial output with (LB).
|
||||
|
||||
config CONSOLE_VGA
|
||||
boolean "VGA console support"
|
||||
depends CONSOLE
|
||||
|
|
@ -161,5 +153,16 @@ config CONSOLE_USB
|
|||
|
||||
See http://linuxbios.org/EHCI_Debug_Port for an up-to-date list.
|
||||
|
||||
comment "Cosmetic console options"
|
||||
depends EXPERT && (CONSOLE_SERIAL || CONSOLE_VGA || CONSOLE_USB)
|
||||
|
||||
config CONSOLE_PREFIX
|
||||
bool "Prefix all console output with '(LB)'"
|
||||
depends EXPERT && (CONSOLE_SERIAL || CONSOLE_VGA || CONSOLE_USB)
|
||||
default n
|
||||
help
|
||||
When you enable this option, LinuxBIOS will prefix each line of
|
||||
console output with '(LB)'.
|
||||
|
||||
endmenu
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue