summaryrefslogtreecommitdiff
path: root/target/linux/adm8668/patches-2.6.36/002-adm8668_uart.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-11-06 18:54:20 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-11-06 18:54:20 +0000
commitd9a42c5436a0bdc49696edaf80958cfa9a3f26cc (patch)
tree8426747c468d82fa0461445c9c616d536cd77534 /target/linux/adm8668/patches-2.6.36/002-adm8668_uart.patch
parent1f8f2aaa37114460df167dda37260190e714e6fc (diff)
downloadmtk-20170518-d9a42c5436a0bdc49696edaf80958cfa9a3f26cc.zip
mtk-20170518-d9a42c5436a0bdc49696edaf80958cfa9a3f26cc.tar.gz
mtk-20170518-d9a42c5436a0bdc49696edaf80958cfa9a3f26cc.tar.bz2
Merge branch 'adm8668'
SVN-Revision: 23900
Diffstat (limited to 'target/linux/adm8668/patches-2.6.36/002-adm8668_uart.patch')
-rw-r--r--target/linux/adm8668/patches-2.6.36/002-adm8668_uart.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/target/linux/adm8668/patches-2.6.36/002-adm8668_uart.patch b/target/linux/adm8668/patches-2.6.36/002-adm8668_uart.patch
new file mode 100644
index 0000000..44fcd29
--- /dev/null
+++ b/target/linux/adm8668/patches-2.6.36/002-adm8668_uart.patch
@@ -0,0 +1,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>
+