coreboot/src/drivers/uart/Kconfig
Martin Roth 2b65ba0734 drivers: Add SPDX license headers to Kconfig files
Change-Id: Ib27894f0f1e03501583fffb2c759b493d6a7b945
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80588
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-02-18 01:59:32 +00:00

73 lines
1.6 KiB
Text

## SPDX-License-Identifier: GPL-2.0-only
config DRIVERS_UART
bool
config DRIVERS_UART_8250IO
# FIXME: Shouldn't have a prompt, should default to n, and
# should be selected by boards that have it instead.
bool "Serial port on SuperIO"
depends on ARCH_X86 || ARCH_PPC64
default n if DRIVERS_UART_8250MEM || HAVE_UART_SPECIAL
default n if NO_UART_ON_SUPERIO
default y
select DRIVERS_UART
config DRIVERS_UART_8250IO_SKIP_INIT
def_bool n
depends on DRIVERS_UART_8250IO
# Select this for mainboard without SuperIO serial port.
config NO_UART_ON_SUPERIO
def_bool n
config UART_OVERRIDE_INPUT_CLOCK_DIVIDER
bool
default n
help
Set to "y" when the platform overrides the uart_input_clock_divider
routine.
config UART_OVERRIDE_REFCLK
bool
default n
help
Set to "y" when the platform overrides the uart_platform_refclk
routine.
config DRIVERS_UART_8250MEM
bool
default n
select DRIVERS_UART
config DRIVERS_UART_8250MEM_32
bool
default n
select DRIVERS_UART_8250MEM
config HAVE_UART_SPECIAL
bool
default n
select DRIVERS_UART
config DRIVERS_UART_OXPCIE
bool "Oxford OXPCIe952"
default n
depends on PCI && !DRIVERS_UART_8250MEM_32
select DRIVERS_UART_8250MEM
select EARLY_PCI_BRIDGE
select UART_OVERRIDE_REFCLK
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
config DRIVERS_UART_SIFIVE
bool
select HAVE_UART_SPECIAL
select UART_OVERRIDE_INPUT_CLOCK_DIVIDER