summaryrefslogtreecommitdiff
path: root/src/drivers/uart/Kconfig
blob: ae3e81adb1bc5299747c0182f06d531f8cd28f64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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
	select 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

config UART_USE_REFCLK_AS_INPUT_CLOCK
	bool
	default n
	help
	  Use uart_platform_refclk to specify the input clock value.

config UART_PCI_ADDR
	hex "UART's PCI bus, device, function address"
	default 0
	help
	  Specify zero if the UART is connected to another bus type.
	  For PCI based UARTs, build the value as:
	  * 1 << 31 - Valid bit, PCI UART in use
	  * Bus << 20
	  * Device << 15
	  * Function << 12