MIPS: BCM63XX: fix BCM6358 GPIO count
PATCH 1/1 MIPS: BCM63XX: fix BCM6358 GPIO count
The BCM6358 SoC has only 38 available GPIOs. Fix it.
Signed-off-by Daniel González Cabanelas <[email protected]>
--- arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h +3 -3
@@ -13,16 +13,16 @@ static inline unsigned long bcm63xx_gpio_count(void)case BCM6328_CPU_ID :return 32 ;case BCM3368_CPU_ID : -case BCM6358_CPU_ID :return 40 ;case BCM6338_CPU_ID :return 8 ;case BCM6345_CPU_ID :return 16 ; -case BCM6362_CPU_ID : -return 48 ; +case BCM6358_CPU_ID :case BCM6368_CPU_ID :return 38 ; +case BCM6362_CPU_ID : +return 48 ;case BCM6348_CPU_ID :default :return 37 ;
Signature · 1 line
2.26.2
Quoted 6 lines · Daniel González Cabanelas
The BCM6358 SoC has only 38 available GPIOs. Fix it.
Signed-off-by Daniel González Cabanelas <[email protected]>--- arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
applied to mips-next.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]