projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
atheros: remove odd board check during image build
[openwrt/openwrt.git]
/
target
/
linux
/
atheros
/
patches-3.18
/
108-ar2315_gpio.patch
diff --git
a/target/linux/atheros/patches-3.18/108-ar2315_gpio.patch
b/target/linux/atheros/patches-3.18/108-ar2315_gpio.patch
index dbc22e81b83b754929b1906b6d46bcac7c3ee85d..5d9785346d6c378508243364478a39a4c6363940 100644
(file)
--- a/
target/linux/atheros/patches-3.18/108-ar2315_gpio.patch
+++ b/
target/linux/atheros/patches-3.18/108-ar2315_gpio.patch
@@
-2,7
+2,7
@@
+++ b/arch/mips/ath25/Kconfig
@@ -7,6 +7,7 @@ config SOC_AR5312
config SOC_AR2315
+++ b/arch/mips/ath25/Kconfig
@@ -7,6 +7,7 @@ config SOC_AR5312
config SOC_AR2315
- bool "Atheros
2315+
support"
+ bool "Atheros
AR2315+ SoC
support"
depends on ATH25
+ select GPIO_AR2315
default y
depends on ATH25
+ select GPIO_AR2315
default y
@@
-348,16
+348,16
@@
+
#define ATH25_REG_MS(_val, _field) (((_val) & _field##_M) >> _field##_S)
+
#define ATH25_REG_MS(_val, _field) (((_val) & _field##_M) >> _field##_S)
- #define ATH25_IRQ_CPU_CLOCK (MIPS_CPU_IRQ_BASE + 7) /* C0_CAUSE: 0x8000 */
+ #define ATH25_IRQ_CPU_CLOCK (MIPS_CPU_IRQ_BASE + 7) /* C0_CAUSE: 0x8000 */
--- a/arch/mips/ath25/ar2315_regs.h
+++ b/arch/mips/ath25/ar2315_regs.h
--- a/arch/mips/ath25/ar2315_regs.h
+++ b/arch/mips/ath25/ar2315_regs.h
-@@ -3
22,6 +322
,9 @@
- #define AR2315_
AMBACLK_CLK_DIV_M 0x0000000c
- #define AR2315_
AMBACLK_CLK_DIV_S 2
+@@ -3
15,6 +315
,9 @@
+ #define AR2315_
MEM_CFG_BANKADDR_BITS_M 0x00000018
+ #define AR2315_
MEM_CFG_BANKADDR_BITS_S 3
+/* GPIO MMR base address */
+#define AR2315_GPIO 0x0088
+
/*
+/* GPIO MMR base address */
+#define AR2315_GPIO 0x0088
+
/*
- *
PCI Clock Control
+ *
Local Bus Interface Registers
*/
*/