console/Kconfig - only print UART addresses for I/O based UARTs

It doesn't make sense to print these values for memory-mapped UARTs.

Change-Id: Ie2d9cf95f0b0fdcf601e74de799b1390c08f2335
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34247
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Martin Roth 2019-07-11 12:54:12 -06:00
parent f6410baaab
commit 3c2e287b7c
1 changed files with 4 additions and 4 deletions

View File

@ -79,13 +79,13 @@ config TTYS0_BASE
Map the COM port number to the respective I/O port.
comment "Serial port base address = 0x3f8"
depends on UART_FOR_CONSOLE = 0
depends on DRIVERS_UART_8250IO && UART_FOR_CONSOLE = 0
comment "Serial port base address = 0x2f8"
depends on UART_FOR_CONSOLE = 1
depends on DRIVERS_UART_8250IO && UART_FOR_CONSOLE = 1
comment "Serial port base address = 0x3e8"
depends on UART_FOR_CONSOLE = 2
depends on DRIVERS_UART_8250IO && UART_FOR_CONSOLE = 2
comment "Serial port base address = 0x2e8"
depends on UART_FOR_CONSOLE = 3
depends on DRIVERS_UART_8250IO && UART_FOR_CONSOLE = 3
config UART_OVERRIDE_BAUDRATE
boolean