From 75517fa5989964cf1e793c58f79e89e59886919c Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Mon, 20 Sep 2010 19:37:59 +0200 Subject: [PATCH] openwrt: set AR5315_RESET_GPIO to 6 in backfire --- .../patches/120.set.AR5315_RESET_GPIO.to.6.patch | 13 ------------- .../patches/300.set.AR2315_RESET_GPIO.to.6.patch | 11 +++++++++++ 2 files changed, 11 insertions(+), 13 deletions(-) delete mode 100644 mote/v1/openwrt/patches/120.set.AR5315_RESET_GPIO.to.6.patch create mode 100644 mote/v1/openwrt/patches/300.set.AR2315_RESET_GPIO.to.6.patch diff --git a/mote/v1/openwrt/patches/120.set.AR5315_RESET_GPIO.to.6.patch b/mote/v1/openwrt/patches/120.set.AR5315_RESET_GPIO.to.6.patch deleted file mode 100644 index 63296c5..0000000 --- a/mote/v1/openwrt/patches/120.set.AR5315_RESET_GPIO.to.6.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: target/linux/atheros/files/include/asm-mips/mach-atheros/ar5315/ar5315.h -=================================================================== ---- target/linux/atheros/files/include/asm-mips/mach-atheros/ar5315/ar5315.h (revision 16491) -+++ target/linux/atheros/files/include/asm-mips/mach-atheros/ar5315/ar5315.h (working copy) -@@ -355,7 +355,7 @@ - #define AR5315_GPIO_INT_LVL_HIGH 2 /* High Level Triggered */ - #define AR5315_GPIO_INT_LVL_EDGE 3 /* Edge Triggered */ - --#define AR5315_RESET_GPIO 5 -+#define AR5315_RESET_GPIO 6 - #define AR5315_NUM_GPIO 22 - - diff --git a/mote/v1/openwrt/patches/300.set.AR2315_RESET_GPIO.to.6.patch b/mote/v1/openwrt/patches/300.set.AR2315_RESET_GPIO.to.6.patch new file mode 100644 index 0000000..84c1c3b --- /dev/null +++ b/mote/v1/openwrt/patches/300.set.AR2315_RESET_GPIO.to.6.patch @@ -0,0 +1,11 @@ +--- a/arch/mips/include/asm/mach-ar231x/ar2315_regs.h ++++ b/arch/mips/include/asm/mach-ar231x/ar2315_regs.h +@@ -301,7 +301,7 @@ + #define AR2315_GPIO_INT_LVL_HIGH 2 /* High Level Triggered */ + #define AR2315_GPIO_INT_LVL_EDGE 3 /* Edge Triggered */ + +-#define AR2315_RESET_GPIO 5 ++#define AR2315_RESET_GPIO 6 + #define AR2315_NUM_GPIO 22 + + /*