blob: cb129b064307714e3d95b60fef0d6551cfe442ea [file] [log] [blame]
Kyösti Mälkkiafa7b132014-02-13 17:16:22 +02001config DRIVERS_UART
Kyösti Mälkki970ad702014-02-15 13:58:01 +02002 bool
Kyösti Mälkkiafa7b132014-02-13 17:16:22 +02003 default y if CONSOLE_SERIAL
4 default n
5
6config DRIVERS_UART_8250IO
7 bool "Serial port on SuperIO"
Gabe Black51edd542013-09-30 23:00:33 -07008 depends on !ARCH_ARM
Kyösti Mälkkiafa7b132014-02-13 17:16:22 +02009 default n if NO_UART_ON_SUPERIO
Kyösti Mälkki970ad702014-02-15 13:58:01 +020010 default y if ARCH_X86
11
Kyösti Mälkkiafa7b132014-02-13 17:16:22 +020012# Select this for mainboard without SuperIO serial port.
13config NO_UART_ON_SUPERIO
14 def_bool n
15
Lee Leahy14876212016-05-04 13:13:20 -070016config UART_OVERRIDE_INPUT_CLOCK_DIVIDER
17 boolean
18 default n
19 help
20 Set to "y" when the platform overrides the uart_input_clock_divider
21 routine.
22
Kyösti Mälkkiafa7b132014-02-13 17:16:22 +020023config DRIVERS_UART_8250MEM
Kyösti Mälkki970ad702014-02-15 13:58:01 +020024 bool
25 default n
26
Naveen Krishna Chatradhia73408d2015-07-08 14:23:06 +053027config DRIVERS_UART_8250MEM_32
28 bool
29 default n
Alexandru Gagniuc715a18e2015-10-02 17:01:22 -070030 select DRIVERS_UART_8250MEM
Naveen Krishna Chatradhia73408d2015-07-08 14:23:06 +053031
Kyösti Mälkki970ad702014-02-15 13:58:01 +020032config HAVE_UART_SPECIAL
33 bool
34 default n
35
Kyösti Mälkkid53d96d2014-02-28 15:15:12 +020036config DRIVERS_UART_OXPCIE
37 bool "Oxford OXPCIe952"
38 default n
39 depends on PCI
40 select DRIVERS_UART_8250MEM
41 select EARLY_PCI_BRIDGE
42 help
43 Support for Oxford OXPCIe952 serial port PCIe cards.
44 Currently only devices with the vendor ID 0x1415 and device ID
45 0xc158 or 0xc11b will work.
46
Kyösti Mälkki7e75f202014-02-10 23:21:14 +020047config DRIVERS_UART_PL011
48 bool
49 default n
50 select HAVE_UART_SPECIAL
Lee Leahyf92a98c2016-05-04 11:59:19 -070051
52config UART_USE_REFCLK_AS_INPUT_CLOCK
53 bool
54 default n
55 help
56 Use uart_platform_refclk to specify the input clock value.
57
58config UART_PCI_ADDR
59 hex "UART's PCI bus, device, function address"
60 default 0
61 help
62 Specify zero if the UART is connected to another bus type.
63 For PCI based UARTs, build the value as:
64 * 1 << 31 - Valid bit, PCI UART in use
65 * Bus << 20
66 * Device << 15
67 * Function << 12