Kyösti Mälkki (kyosti.malkki@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5230
-gerrit
commit 7b14038cc736557d2c6c401ce22c270f22aae4a9 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Fri Feb 14 07:04:09 2014 +0200
console: Add drivers/uart
Also move UART related Kconfigs from top-level file.
Change-Id: I4e407977cff6f6506f991600c98d6d264676d3f8 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- src/Kconfig | 14 -------------- src/drivers/Kconfig | 1 + src/drivers/Makefile.inc | 1 + src/drivers/uart/Kconfig | 14 ++++++++++++++ 4 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/src/Kconfig b/src/Kconfig index 94fea2d..bb25afd 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 8da7b05..01bed21 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 eb86a4c..197a900 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 0000000..c1c3090 --- /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 +