Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 1 | config DRIVERS_UART |
Kyösti Mälkki | 970ad70 | 2014-02-15 13:58:01 +0200 | [diff] [blame] | 2 | bool |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 3 | default y if CONSOLE_SERIAL |
| 4 | default n |
| 5 | |
| 6 | config DRIVERS_UART_8250IO |
| 7 | bool "Serial port on SuperIO" |
Gabe Black | 51edd54 | 2013-09-30 23:00:33 -0700 | [diff] [blame] | 8 | depends on !ARCH_ARM |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 9 | default n if NO_UART_ON_SUPERIO |
Kyösti Mälkki | 970ad70 | 2014-02-15 13:58:01 +0200 | [diff] [blame] | 10 | default y if ARCH_X86 |
| 11 | |
Kyösti Mälkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 12 | # Select this for mainboard without SuperIO serial port. |
| 13 | config NO_UART_ON_SUPERIO |
| 14 | def_bool n |
| 15 | |
Lee Leahy | 1487621 | 2016-05-04 13:13:20 -0700 | [diff] [blame^] | 16 | config 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älkki | afa7b13 | 2014-02-13 17:16:22 +0200 | [diff] [blame] | 23 | config DRIVERS_UART_8250MEM |
Kyösti Mälkki | 970ad70 | 2014-02-15 13:58:01 +0200 | [diff] [blame] | 24 | bool |
| 25 | default n |
| 26 | |
Naveen Krishna Chatradhi | a73408d | 2015-07-08 14:23:06 +0530 | [diff] [blame] | 27 | config DRIVERS_UART_8250MEM_32 |
| 28 | bool |
| 29 | default n |
Alexandru Gagniuc | 715a18e | 2015-10-02 17:01:22 -0700 | [diff] [blame] | 30 | select DRIVERS_UART_8250MEM |
Naveen Krishna Chatradhi | a73408d | 2015-07-08 14:23:06 +0530 | [diff] [blame] | 31 | |
Kyösti Mälkki | 970ad70 | 2014-02-15 13:58:01 +0200 | [diff] [blame] | 32 | config HAVE_UART_SPECIAL |
| 33 | bool |
| 34 | default n |
| 35 | |
Kyösti Mälkki | d53d96d | 2014-02-28 15:15:12 +0200 | [diff] [blame] | 36 | config 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älkki | 7e75f20 | 2014-02-10 23:21:14 +0200 | [diff] [blame] | 47 | config DRIVERS_UART_PL011 |
| 48 | bool |
| 49 | default n |
| 50 | select HAVE_UART_SPECIAL |
Lee Leahy | f92a98c | 2016-05-04 11:59:19 -0700 | [diff] [blame] | 51 | |
| 52 | config 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 | |
| 58 | config 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 |