From ac76ed9998f95cb54d3862ce491402038340e9aa Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 19 Nov 2015 11:40:43 -0700 Subject: console: Add help for serial IO port selection Add help and a comment about the serial IO port selection to give the user better feedback when a port index is selected. Change-Id: I4c1614be51aee0286308fbc5c24554e218120bf7 Signed-off-by: Martin Roth Reviewed-on: http://review.coreboot.org/12487 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/console/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/console') diff --git a/src/console/Kconfig b/src/console/Kconfig index d81563794b..3130ee9534 100644 --- a/src/console/Kconfig +++ b/src/console/Kconfig @@ -43,6 +43,9 @@ if CONSOLE_SERIAL config UART_FOR_CONSOLE int "Index for UART port to use for console" default 0 + help + Select an I/O port to use for serial console: + 0 = 0x3f8, 1 = 0x2f8, 2 = 0x3e8, 3 = 0x2e8 # FIXME: Early programming in romstage is incorrect as we should # program different LDN to actually change the physical port. @@ -56,6 +59,15 @@ config TTYS0_BASE help Map the COM port number to the respective I/O port. +comment "Serial port base address = 0x3f8" +depends on UART_FOR_CONSOLE = 0 +comment "Serial port base address = 0x2f8" +depends on UART_FOR_CONSOLE = 1 +comment "Serial port base address = 0x3e8" +depends on UART_FOR_CONSOLE = 2 +comment "Serial port base address = 0x2e8" +depends on UART_FOR_CONSOLE = 3 + choice prompt "Baud rate" default CONSOLE_SERIAL_115200 -- cgit v1.2.3