diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-02-15 13:58:01 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-02-17 20:45:27 +0100 |
commit | 970ad7076388b3ef98988121170df86196d493b4 (patch) | |
tree | 6bf81e6b8a5ae334c2ce9826f8fd0c7672010946 /src/drivers | |
parent | 7040d7dfad8f62bbcbe5f92c653fb0c962e868ec (diff) | |
download | coreboot-970ad7076388b3ef98988121170df86196d493b4.tar.xz |
console: Add drivers/uart
Also move UART related Kconfig options from top-level file.
Change-Id: I4e407977cff6f6506f991600c98d6d264676d3f8
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5230
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/Kconfig | 1 | ||||
-rw-r--r-- | src/drivers/Makefile.inc | 1 | ||||
-rw-r--r-- | src/drivers/uart/Kconfig | 14 |
3 files changed, 16 insertions, 0 deletions
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 + |