summaryrefslogtreecommitdiff
path: root/src/drivers/uart/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/uart/Kconfig')
-rw-r--r--src/drivers/uart/Kconfig15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/drivers/uart/Kconfig b/src/drivers/uart/Kconfig
index 5c9a9d129c..889c69a0bc 100644
--- a/src/drivers/uart/Kconfig
+++ b/src/drivers/uart/Kconfig
@@ -1,10 +1,19 @@
-# This should default to N and be set by SuperI/O drivers that have an UART
-config HAVE_UART_IO_MAPPED
+config DRIVERS_UART
bool
+ default y if CONSOLE_SERIAL
+ default n
+
+config DRIVERS_UART_8250IO
+ bool "Serial port on SuperIO"
depends on !ARCH_ARMV7
+ default n if NO_UART_ON_SUPERIO
default y if ARCH_X86
-config HAVE_UART_MEMORY_MAPPED
+# Select this for mainboard without SuperIO serial port.
+config NO_UART_ON_SUPERIO
+ def_bool n
+
+config DRIVERS_UART_8250MEM
bool
default n