summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-12-23 14:45:05 +0000
committerJohn Crispin <john@openwrt.org>2015-12-23 14:45:05 +0000
commit698edbbc322a021c5a2231919cef4532187d3638 (patch)
tree8bc5cea6d7a98205fa056b0da1fd34b511c1860a /target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch
parent502f91b22e83541d46de89aee39864d21edb607d (diff)
downloadmaster-31e0f0ae-698edbbc322a021c5a2231919cef4532187d3638.tar.gz
master-31e0f0ae-698edbbc322a021c5a2231919cef4532187d3638.tar.bz2
master-31e0f0ae-698edbbc322a021c5a2231919cef4532187d3638.zip
ar71xx: refresh patches
Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 47983
Diffstat (limited to 'target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch')
-rw-r--r--target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch b/target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch
index a564e6c6c4..5c9005785f 100644
--- a/target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch
+++ b/target/linux/ar71xx/patches-4.1/820-MIPS-ath79-add_gpio_function2_setup.patch
@@ -14,7 +14,7 @@ functions on the Arduino Yun.
void ath79_gpio_init(void);
--- a/arch/mips/ath79/gpio.c
+++ b/arch/mips/ath79/gpio.c
-@@ -193,6 +193,36 @@ static void __iomem *ath79_gpio_get_func
+@@ -195,6 +195,36 @@ static void __iomem *ath79_gpio_get_func
return ath79_gpio_base + reg;
}
@@ -53,7 +53,7 @@ functions on the Arduino Yun.
void __iomem *reg = ath79_gpio_get_function_reg();
--- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
+++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
-@@ -840,6 +840,7 @@
+@@ -847,6 +847,7 @@
#define AR71XX_GPIO_REG_INT_PENDING 0x20
#define AR71XX_GPIO_REG_INT_ENABLE 0x24
#define AR71XX_GPIO_REG_FUNC 0x28
@@ -61,7 +61,7 @@ functions on the Arduino Yun.
#define AR934X_GPIO_REG_OUT_FUNC0 0x2c
#define AR934X_GPIO_REG_OUT_FUNC1 0x30
-@@ -964,6 +965,8 @@
+@@ -971,6 +972,8 @@
#define AR724X_GPIO_FUNC_UART_EN BIT(1)
#define AR724X_GPIO_FUNC_JTAG_DISABLE BIT(0)