This patch adds UART8250MEM_32 feature flag to support UART8250 compatible with 32bit access in memory mapped mode. [pg: rebuilt to reuse the existing UART8250 8bit access driver which reduces code duplication.] Change-Id: I310e70dfab81dcca575e9931e0ccf93af70efa40 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 0c3b2c628b854e8334540ff5158c2587dbfabf95 Original-Change-Id: I07ee256f25e48480372af9a9255bf487c331e51d Original-Signed-off-by: Rishavnath Satapathy <rishavnath.satapathy@intel.com> Original-Signed-off-by: Naveen Krishna Chatradhi <naveenkrishna.ch@intel.com> Original-Reviewed-on: https://chromium-review.googlesource.com/271759 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Tested-by: Wenkai Du <wenkai.du@intel.com> Original-Commit-Queue: Wenkai Du <wenkai.du@intel.com> Reviewed-on: http://review.coreboot.org/10998 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
43 lines
833 B
Text
43 lines
833 B
Text
config DRIVERS_UART
|
|
bool
|
|
default y if CONSOLE_SERIAL
|
|
default n
|
|
|
|
config DRIVERS_UART_8250IO
|
|
bool "Serial port on SuperIO"
|
|
depends on !ARCH_ARM
|
|
default n if NO_UART_ON_SUPERIO
|
|
default y if ARCH_X86
|
|
|
|
# Select this for mainboard without SuperIO serial port.
|
|
config NO_UART_ON_SUPERIO
|
|
def_bool n
|
|
|
|
config DRIVERS_UART_8250MEM
|
|
bool
|
|
default n
|
|
|
|
config DRIVERS_UART_8250MEM_32
|
|
bool
|
|
default n
|
|
depends on DRIVERS_UART_8250MEM
|
|
|
|
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
|
|
select HAVE_UART_SPECIAL
|