From 3c2e287b7ca9706cb29bd2c34b42af7e4c0a2981 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 11 Jul 2019 12:54:12 -0600 Subject: console/Kconfig - only print UART addresses for I/O based UARTs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It doesn't make sense to print these values for memory-mapped UARTs. Change-Id: Ie2d9cf95f0b0fdcf601e74de799b1390c08f2335 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/c/coreboot/+/34247 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Kyösti Mälkki --- src/console/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/console') 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 -- cgit v1.2.3