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>
This commit is contained in:
Kyösti Mälkki 2014-02-15 13:58:01 +02:00
parent 7040d7dfad
commit 970ad70763
4 changed files with 16 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -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

14
src/drivers/uart/Kconfig Normal file
View File

@ -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