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:
parent
4c686f2106
commit
d53d96dddd
|
@ -27,7 +27,6 @@ source src/drivers/ics/Kconfig
|
||||||
source src/drivers/intel/Kconfig
|
source src/drivers/intel/Kconfig
|
||||||
source src/drivers/ipmi/Kconfig
|
source src/drivers/ipmi/Kconfig
|
||||||
source src/drivers/maxim/Kconfig
|
source src/drivers/maxim/Kconfig
|
||||||
source src/drivers/oxford/Kconfig
|
|
||||||
source src/drivers/parade/Kconfig
|
source src/drivers/parade/Kconfig
|
||||||
if PC80_SYSTEM
|
if PC80_SYSTEM
|
||||||
source src/drivers/pc80/Kconfig
|
source src/drivers/pc80/Kconfig
|
||||||
|
|
|
@ -25,7 +25,6 @@ subdirs-y += i2c
|
||||||
subdirs-y += intel
|
subdirs-y += intel
|
||||||
subdirs-y += maxim
|
subdirs-y += maxim
|
||||||
subdirs-y += net
|
subdirs-y += net
|
||||||
subdirs-y += oxford
|
|
||||||
subdirs-y += parade
|
subdirs-y += parade
|
||||||
subdirs-y += realtek
|
subdirs-y += realtek
|
||||||
subdirs-y += sil
|
subdirs-y += sil
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
source src/drivers/oxford/oxpcie/Kconfig
|
|
|
@ -1 +0,0 @@
|
||||||
subdirs-$(CONFIG_DRIVERS_OXFORD_OXPCIE) += oxpcie
|
|
|
@ -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.
|
|
|
@ -1,4 +0,0 @@
|
||||||
ifeq ($(CONFIG_CONSOLE_SERIAL),y)
|
|
||||||
ramstage-y += oxpcie_early.c oxpcie.c
|
|
||||||
romstage-y += oxpcie_early.c
|
|
||||||
endif
|
|
|
@ -21,6 +21,17 @@ config HAVE_UART_SPECIAL
|
||||||
bool
|
bool
|
||||||
default n
|
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
|
config DRIVERS_UART_PL011
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
|
@ -18,6 +18,11 @@ ramstage-y += uart8250mem.c
|
||||||
smm-$(CONFIG_DEBUG_SMI) += uart8250mem.c
|
smm-$(CONFIG_DEBUG_SMI) += uart8250mem.c
|
||||||
endif
|
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)
|
ifeq ($(CONFIG_DRIVERS_UART_PL011),y)
|
||||||
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += pl011.c
|
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += pl011.c
|
||||||
romstage-$(CONFIG_EARLY_CONSOLE) += pl011.c
|
romstage-$(CONFIG_EARLY_CONSOLE) += pl011.c
|
||||||
|
|
Loading…
Reference in New Issue