]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: BCM63xx: Fix GPIO set/get for BCM6345
authorFlorian Fainelli <florian@openwrt.org>
Wed, 16 Nov 2011 18:11:21 +0000 (19:11 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 24 Nov 2011 10:42:33 +0000 (10:42 +0000)
commit878394d7889f6910525ce67d6ddecf2600d80d8c
tree53e40b5a3795218be49316a9028ef5f185a5eb4e
parent1d53288962391610cdc1ead871c4d3c1d141b474
MIPS: BCM63xx: Fix GPIO set/get for BCM6345

On BCM6345, the register offsets for the set/get GPIO registers is wrong.
Use the same logic as the one present in arch/mips/bcm63xx/irq.c to
define the correct gpio_out_low_reg value when support for BCM6345
is compiled in.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3010/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm63xx/gpio.c
arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h