summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Kconfig14
-rw-r--r--src/drivers/Kconfig1
-rw-r--r--src/drivers/Makefile.inc1
-rw-r--r--src/drivers/uart/Kconfig14
4 files changed, 16 insertions, 14 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 94fea2dbc5..bb25afd1dc 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -292,20 +292,6 @@ config MMCONF_SUPPORT
source src/console/Kconfig
-# This should default to N and be set by SuperI/O drivers that have an UART
-config HAVE_UART_IO_MAPPED
- bool
- default y if ARCH_X86
- default n if ARCH_ARMV7
-
-config HAVE_UART_MEMORY_MAPPED
- bool
- default n
-
-config HAVE_UART_SPECIAL
- bool
- default n
-
config HAVE_ACPI_RESUME
bool
default n
diff --git a/src/drivers/Kconfig b/src/drivers/Kconfig
index 8da7b056f5..01bed21059 100644
--- a/src/drivers/Kconfig
+++ b/src/drivers/Kconfig
@@ -37,4 +37,5 @@ source src/drivers/sil/Kconfig
source src/drivers/spi/Kconfig
source src/drivers/ti/Kconfig
source src/drivers/trident/Kconfig
+source src/drivers/uart/Kconfig
source src/drivers/xpowers/Kconfig
diff --git a/src/drivers/Makefile.inc b/src/drivers/Makefile.inc
index eb86a4c060..197a900b05 100644
--- a/src/drivers/Makefile.inc
+++ b/src/drivers/Makefile.inc
@@ -30,6 +30,7 @@ subdirs-y += parade
subdirs-y += realtek
subdirs-y += sil
subdirs-y += trident
+subdirs-y += uart
subdirs-y += usb
subdirs-y += ics
subdirs-y += spi
diff --git a/src/drivers/uart/Kconfig b/src/drivers/uart/Kconfig
new file mode 100644
index 0000000000..c1c30907c3
--- /dev/null
+++ b/src/drivers/uart/Kconfig
@@ -0,0 +1,14 @@
+# This should default to N and be set by SuperI/O drivers that have an UART
+config HAVE_UART_IO_MAPPED
+ bool
+ depends on !ARCH_ARMV7
+ default y if ARCH_X86
+
+config HAVE_UART_MEMORY_MAPPED
+ bool
+ default n
+
+config HAVE_UART_SPECIAL
+ bool
+ default n
+