ar71xx: allow to pass part_probe types to the m25p80 driver
[openwrt.git] / target / linux / ar71xx / patches-2.6.39 / 500-ar933x-uart-driver.patch
1 --- a/drivers/tty/serial/Kconfig
2 +++ b/drivers/tty/serial/Kconfig
3 @@ -1612,4 +1612,27 @@ config SERIAL_MXS_AUART_CONSOLE
4 help
5 Enable a MXS AUART port to be the system console.
6
7 +config SERIAL_AR933X
8 + bool "AR933X serial port support"
9 + depends on SOC_AR933X
10 + select SERIAL_CORE
11 + help
12 + If you have an Atheros AR933X SOC based board and want to use the
13 + built-in UART of the SoC, say Y to this option.
14 +
15 +config SERIAL_AR933X_CONSOLE
16 + bool "Console on AR933X serial port"
17 + depends on SERIAL_AR933X=y
18 + select SERIAL_CORE_CONSOLE
19 + help
20 + Enable a built-in UART port of the AR933X to be the system console.
21 +
22 +config SERIAL_AR933X_NR_UARTS
23 + int "Maximum number of AR933X serial ports"
24 + depends on SERIAL_AR933X
25 + default "2"
26 + help
27 + Set this to the number of serial ports you want the driver
28 + to support.
29 +
30 endmenu
31 --- a/drivers/tty/serial/Makefile
32 +++ b/drivers/tty/serial/Makefile
33 @@ -94,3 +94,4 @@ obj-$(CONFIG_SERIAL_IFX6X60) += ifx6x6
34 obj-$(CONFIG_SERIAL_PCH_UART) += pch_uart.o
35 obj-$(CONFIG_SERIAL_MSM_SMD) += msm_smd_tty.o
36 obj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o
37 +obj-$(CONFIG_SERIAL_AR933X) += ar933x_uart.o
38 --- a/include/linux/serial_core.h
39 +++ b/include/linux/serial_core.h
40 @@ -202,6 +202,10 @@
41 /* VIA VT8500 SoC */
42 #define PORT_VT8500 97
43
44 +/* Atheros AR933X SoC */
45 +#define PORT_AR933X 99
46 +
47 +
48 #ifdef __KERNEL__
49
50 #include <linux/compiler.h>
This page took 0.042359 seconds and 5 git commands to generate.