openwrtv4/target/linux/brcm63xx/patches-2.6.32/160-fix_gpio_count.patch
Florian Fainelli f2e91995ea refresh 2.6.32 patches, fix livebox support (#6821)
SVN-Revision: 20204
2010-03-14 16:21:28 +00:00

13 lines
364 B
Diff

--- 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;