summaryrefslogtreecommitdiffstats
path: root/target/linux/adm8668/patches-2.6.36/002-adm8668_uart.patch
blob: 44fcd29de33c559205c96cfcd9440a451b52c463 (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
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -1510,6 +1510,25 @@
 	  If you have enabled the serial port on the bcm63xx CPU
 	  you can make it the console by answering Y to this option.

+config SERIAL_ADM8668
+	tristate "ADM8668 serial port support"
+	select SERIAL_CORE
+	depends on ADM8668
+	help
+	  If you have an adm8668 CPU, you can enable its onboard
+	  serial port by enabling this options.
+
+          To compile this driver as a module, choose M here: the
+          module will be called adm8668_uart.
+
+config SERIAL_ADM8668_CONSOLE
+	bool "Console on adm8668 serial port"
+	depends on SERIAL_ADM8668=y
+	select SERIAL_CORE_CONSOLE
+	help
+	  If you have enabled the serial port on the adm8668 CPU
+	  you can make it the console by answering Y to this option.
+
 config SERIAL_GRLIB_GAISLER_APBUART
 	tristate "GRLIB APBUART serial support"
 	depends on OF
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -196,6 +196,9 @@
 /* High Speed UART for Medfield */
 #define PORT_MFD	95

+/* ADM8668 UART */
+#define	PORT_ADM8668	93
+
 #ifdef __KERNEL__

 #include <linux/compiler.h>