summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2019-07-11 12:54:12 -0600
committerMartin Roth <martinroth@google.com>2019-07-13 17:53:22 +0000
commit3c2e287b7ca9706cb29bd2c34b42af7e4c0a2981 (patch)
tree2162f6b6df9838e30ad8f7449bbf1ef9666ea6c0 /src/console
parentf6410baaabd4a68a11112c021cecb48b83b131c1 (diff)
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>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/console/Kconfig b/src/console/Kconfig
index 61ba667d59..4cb407e785 100644
--- a/src/console/Kconfig
+++ b/src/console/Kconfig
@@ -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