commit | 1b432840d0a4740020e29ae7a00717ef8f44954b | [log] [tgz] |
---|---|---|
author | Florian Fainelli <florian@openwrt.org> | Fri Oct 31 14:24:29 2008 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Nov 20 19:42:32 2008 +0000 |
tree | 64374760eb188224bba02321bba49b99eeff4dc6 | |
parent | 9e86786a4b17ad186f456dc6ac0508a17556731b [diff] |
MIPS: RB532: GPIO register offsets are relative to GPIOBASE This patch fixes the wrong use of GPIO register offsets in devices.c. To avoid further problems, use gpio_get_value to return the NAND status instead of our own expanded code. Also define the zero offset of the alternate function register to allow consistent access. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Phil Sutter <n0-1@freewrt.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>