diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-03-19 19:38:12 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-03-19 19:38:12 +0000 |
commit | 9c4b23a8d130b82fbe8669d0c4a005622b9d612c (patch) | |
tree | c505609304f35c3aa40cfcd9edb4c0c8e1d5c188 /target/linux/adm5120-2.6/patches/004-adm5120_uart.patch | |
parent | d9dfd7341b4e1febcf37c7a973c1f2f13b60f54d (diff) | |
download | mtk-20170518-9c4b23a8d130b82fbe8669d0c4a005622b9d612c.zip mtk-20170518-9c4b23a8d130b82fbe8669d0c4a005622b9d612c.tar.gz mtk-20170518-9c4b23a8d130b82fbe8669d0c4a005622b9d612c.tar.bz2 |
Fix the uart patch
SVN-Revision: 6615
Diffstat (limited to 'target/linux/adm5120-2.6/patches/004-adm5120_uart.patch')
-rw-r--r-- | target/linux/adm5120-2.6/patches/004-adm5120_uart.patch | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/target/linux/adm5120-2.6/patches/004-adm5120_uart.patch b/target/linux/adm5120-2.6/patches/004-adm5120_uart.patch index c0bb0d3..6f2ef7b 100644 --- a/target/linux/adm5120-2.6/patches/004-adm5120_uart.patch +++ b/target/linux/adm5120-2.6/patches/004-adm5120_uart.patch @@ -1,22 +1,29 @@ +diff -urN linux-2.6.19.2/drivers/serial/Kconfig linux-2.6.19.2-adm5120/drivers/serial/Kconfig +--- linux-2.6.19.2/drivers/serial/Kconfig 2007-01-10 20:10:37.000000000 +0100 ++++ linux-2.6.19.2-adm5120/drivers/serial/Kconfig 2007-01-23 01:13:39.000000000 +0100 +@@ -246,6 +246,22 @@ + + comment "Non-8250 serial port support" + +config SERIAL_ADM5120 -+ bool "ADM5120 serial port support" -+ depends on MIPS_ADM5120 -+ select SERIAL_CORE -+ select SERIAL_CORE_CONSOLE -+ help -+ Driver for the on chip UARTs on the ADM5120 SoC ++ bool "ADM5120 serial port support" ++ depends on MIPS_ADM5120 ++ select SERIAL_CORE ++ select SERIAL_CORE_CONSOLE ++ help ++ Driver for the on chip UARTs on the ADM5120 SoC + +config ADM5120_NR_UARTS -+ int "Maximum number of ADM5120 serial ports" -+ depends on SERIAL_ADM5120 -+ default "2" -+ ---help--- -+ Set this to the number of serial ports you want the driver to -+ support. ++ int "Maximum number of ADM5120 serial ports" ++ depends on SERIAL_ADM5120 ++ default "2" ++ ---help--- ++ Set this to the number of serial ports you want the driver to ++ support. + config SERIAL_AMBA_PL010 - tristate "ARM AMBA PL010 serial port support" - depends on ARM_AMBA && (BROKEN || !ARCH_VERSATILE) + tristate "ARM AMBA PL010 serial port support" + depends on ARM_AMBA && (BROKEN || !ARCH_VERSATILE) diff -urN linux-2.6.19.2/drivers/serial/Makefile linux-2.6.19.2-adm5120/drivers/serial/Makefile --- linux-2.6.19.2/drivers/serial/Makefile 2007-01-10 20:10:37.000000000 +0100 +++ linux-2.6.19.2-adm5120/drivers/serial/Makefile 2007-01-23 01:21:45.000000000 +0100 |