]> 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, 17 Nov 2011 14:01:32 +0000 (14:01 +0000)
commit639de8e0f3e859fb484d0b95a1bb19d08380dcf4
tree1d6ebfe6f8a87f6f92971f54787be18b7bf14243
parentff00bfd6f2b853578ceb3aaa13ca73912729ec28
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