diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-08-04 23:09:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-08-04 23:09:28 +0000 |
commit | 991e641a7651ae45bcd607a081c606b5b9f54053 (patch) | |
tree | 9e15f8b91f7214244806d01eac74fa7d247c23ea /target/linux/ar71xx/patches-3.18/520-MIPS-ath79-enable-UART-function.patch | |
parent | 9378f970ed51a78fb4ec3438cabcbaecb7c2d7fe (diff) | |
download | mtk-20170518-991e641a7651ae45bcd607a081c606b5b9f54053.zip mtk-20170518-991e641a7651ae45bcd607a081c606b5b9f54053.tar.gz mtk-20170518-991e641a7651ae45bcd607a081c606b5b9f54053.tar.bz2 |
ar71xx: remove linux 3.18 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46553
Diffstat (limited to 'target/linux/ar71xx/patches-3.18/520-MIPS-ath79-enable-UART-function.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.18/520-MIPS-ath79-enable-UART-function.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/target/linux/ar71xx/patches-3.18/520-MIPS-ath79-enable-UART-function.patch b/target/linux/ar71xx/patches-3.18/520-MIPS-ath79-enable-UART-function.patch deleted file mode 100644 index 019e558..0000000 --- a/target/linux/ar71xx/patches-3.18/520-MIPS-ath79-enable-UART-function.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/arch/mips/ath79/dev-common.c -+++ b/arch/mips/ath79/dev-common.c -@@ -80,6 +80,15 @@ void __init ath79_register_uart(void) - - uart_clk_rate = ath79_get_sys_clk_rate("uart"); - -+ if (soc_is_ar71xx()) -+ ath79_gpio_function_enable(AR71XX_GPIO_FUNC_UART_EN); -+ else if (soc_is_ar724x()) -+ ath79_gpio_function_enable(AR724X_GPIO_FUNC_UART_EN); -+ else if (soc_is_ar913x()) -+ ath79_gpio_function_enable(AR913X_GPIO_FUNC_UART_EN); -+ else if (soc_is_ar933x()) -+ ath79_gpio_function_enable(AR933X_GPIO_FUNC_UART_EN); -+ - if (soc_is_ar71xx() || - soc_is_ar724x() || - soc_is_ar913x() || |