diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-02-28 21:24:34 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-02-28 21:24:34 +0000 |
commit | 4f4066d3e057567c0f78a3069ef967fd787ac94a (patch) | |
tree | 4ea6a7d116f34e4ea56f5a234060d3c59bd0dd8e /target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch | |
parent | 9fc22cd0328f840ea4e8e85cc5b86aa3eb8c0423 (diff) | |
download | mtk-20170518-4f4066d3e057567c0f78a3069ef967fd787ac94a.zip mtk-20170518-4f4066d3e057567c0f78a3069ef967fd787ac94a.tar.gz mtk-20170518-4f4066d3e057567c0f78a3069ef967fd787ac94a.tar.bz2 |
add support for 2.6.33
SVN-Revision: 19921
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch b/target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch new file mode 100644 index 0000000..f997685 --- /dev/null +++ b/target/linux/brcm63xx/patches-2.6.33/160-fix_gpio_count.patch @@ -0,0 +1,13 @@ +--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h ++++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h +@@ -10,6 +10,10 @@ static inline unsigned long bcm63xx_gpio + switch (bcm63xx_get_cpu_id()) { + case BCM6358_CPU_ID: + return 40; ++ case BCM6338_CPU_ID: ++ return 8; ++ case BCM6345_CPU_ID: ++ return 16; + case BCM6348_CPU_ID: + default: + return 37; |