OxPCIe uart: Move under drivers/uart

This driver is only a thin shell for uart8250mem and we could extend it
with further compatible PCI IDs from other vendors/brands.

Change-Id: Ic115b1baa0be0dbaa81e4a17a2e466019d3f4a67
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5329
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Kyösti Mälkki 2014-02-28 15:15:12 +02:00 committed by Patrick Georgi
parent 4c686f2106
commit d53d96dddd
10 changed files with 16 additions and 18 deletions

View File

@ -27,7 +27,6 @@ source src/drivers/ics/Kconfig
source src/drivers/intel/Kconfig
source src/drivers/ipmi/Kconfig
source src/drivers/maxim/Kconfig
source src/drivers/oxford/Kconfig
source src/drivers/parade/Kconfig
if PC80_SYSTEM
source src/drivers/pc80/Kconfig

View File

@ -25,7 +25,6 @@ subdirs-y += i2c
subdirs-y += intel
subdirs-y += maxim
subdirs-y += net
subdirs-y += oxford
subdirs-y += parade
subdirs-y += realtek
subdirs-y += sil

View File

@ -1 +0,0 @@
source src/drivers/oxford/oxpcie/Kconfig

View File

@ -1 +0,0 @@
subdirs-$(CONFIG_DRIVERS_OXFORD_OXPCIE) += oxpcie

View File

@ -1,10 +0,0 @@
config DRIVERS_OXFORD_OXPCIE
bool "Oxford OXPCIe952"
default n
depends on PCI
select DRIVERS_UART_8250MEM
select EARLY_PCI_BRIDGE
help
Support for Oxford OXPCIe952 serial port PCIe cards.
Currently only devices with the vendor ID 0x1415 and device ID
0xc158 or 0xc11b will work.

View File

@ -1,4 +0,0 @@
ifeq ($(CONFIG_CONSOLE_SERIAL),y)
ramstage-y += oxpcie_early.c oxpcie.c
romstage-y += oxpcie_early.c
endif

View File

@ -21,6 +21,17 @@ config HAVE_UART_SPECIAL
bool
default n
config DRIVERS_UART_OXPCIE
bool "Oxford OXPCIe952"
default n
depends on PCI
select DRIVERS_UART_8250MEM
select EARLY_PCI_BRIDGE
help
Support for Oxford OXPCIe952 serial port PCIe cards.
Currently only devices with the vendor ID 0x1415 and device ID
0xc158 or 0xc11b will work.
config DRIVERS_UART_PL011
bool
default n

View File

@ -18,6 +18,11 @@ ramstage-y += uart8250mem.c
smm-$(CONFIG_DEBUG_SMI) += uart8250mem.c
endif
ifeq ($(CONFIG_DRIVERS_UART_OXPCIE),y)
ramstage-y += oxpcie_early.c oxpcie.c
romstage-y += oxpcie_early.c
endif
ifeq ($(CONFIG_DRIVERS_UART_PL011),y)
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += pl011.c
romstage-$(CONFIG_EARLY_CONSOLE) += pl011.c