1 commit 24920fbc58c0183013db148f8be6fbc12d3bba9a
2 Author: Gabor Juhos <juhosg@openwrt.org>
3 Date: Sun Mar 27 12:04:36 2011 +0200
5 serial: add driver for the built-in UART of the AR933X SoC
7 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
9 --- a/drivers/serial/Kconfig
10 +++ b/drivers/serial/Kconfig
11 @@ -1632,4 +1632,27 @@ config SERIAL_ALTERA_UART_CONSOLE
13 Enable a Altera UART port to be the system console.
16 + bool "AR933X serial port support"
17 + depends on SOC_AR933X
20 + If you have an Atheros AR933X SOC based board and want to use the
21 + built-in UART of the SoC, say Y to this option.
23 +config SERIAL_AR933X_CONSOLE
24 + bool "Console on AR933X serial port"
25 + depends on SERIAL_AR933X=y
26 + select SERIAL_CORE_CONSOLE
28 + Enable a built-in UART port of the AR933X to be the system console.
30 +config SERIAL_AR933X_NR_UARTS
31 + int "Maximum number of AR933X serial ports"
32 + depends on SERIAL_AR933X
35 + Set this to the number of serial ports you want the driver
39 --- a/drivers/serial/Makefile
40 +++ b/drivers/serial/Makefile
41 @@ -89,3 +89,5 @@ obj-$(CONFIG_SERIAL_ALTERA_UART) += alte
42 obj-$(CONFIG_SERIAL_MRST_MAX3110) += mrst_max3110.o
43 obj-$(CONFIG_SERIAL_MFD_HSU) += mfd.o
44 obj-$(CONFIG_SERIAL_OMAP) += omap-serial.o
45 +obj-$(CONFIG_SERIAL_AR933X) += ar933x_uart.o
47 --- a/include/linux/serial_core.h
48 +++ b/include/linux/serial_core.h
53 +/* Atheros AR933X SoC */
54 +#define PORT_AR933X 98
58 #include <linux/compiler.h>