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 <martinroth@google.com> Reviewed-on: http://review.coreboot.org/12487 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
b50d8fbb6e
commit
ac76ed9998
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue