diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-04-25 18:53:49 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-04-25 18:53:49 +0000 |
commit | ef1b10d0f1534df01884f0a16eb917c2ee897ac2 (patch) | |
tree | 8fdff253de0cef0558cb44970d6595070c726f50 /target/linux/adm8668/patches-3.3/002-adm8668_uart.patch | |
parent | af3ff2e7b6b12a27247d8923f54e0fa2a23775cf (diff) | |
download | upstream-ef1b10d0f1534df01884f0a16eb917c2ee897ac2.tar.gz upstream-ef1b10d0f1534df01884f0a16eb917c2ee897ac2.tar.bz2 upstream-ef1b10d0f1534df01884f0a16eb917c2ee897ac2.zip |
adm8668: add support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31480 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm8668/patches-3.3/002-adm8668_uart.patch')
-rw-r--r-- | target/linux/adm8668/patches-3.3/002-adm8668_uart.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/target/linux/adm8668/patches-3.3/002-adm8668_uart.patch b/target/linux/adm8668/patches-3.3/002-adm8668_uart.patch new file mode 100644 index 0000000000..ed55cbbaa8 --- /dev/null +++ b/target/linux/adm8668/patches-3.3/002-adm8668_uart.patch @@ -0,0 +1,40 @@ +--- a/drivers/tty/serial/Kconfig ++++ b/drivers/tty/serial/Kconfig +@@ -1192,6 +1192,25 @@ config SERIAL_BCM63XX_CONSOLE + 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 && SPARC +--- a/include/linux/serial_core.h ++++ b/include/linux/serial_core.h +@@ -211,6 +211,9 @@ + #define PORT_AR933X 99 + + ++/* ADM8668 UART */ ++#define PORT_ADM8668 100 ++ + #ifdef __KERNEL__ + + #include <linux/compiler.h> |