diff --git a/arch/x86/console.c b/arch/x86/console.c index a4d57f8f57..add3aa2529 100644 --- a/arch/x86/console.c +++ b/arch/x86/console.c @@ -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'); diff --git a/console/Kconfig b/console/Kconfig index bc19af7a2f..9df572450c 100644 --- a/console/Kconfig +++ b/console/Kconfig @@ -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