m68knommu: switch to GPIO init macros in ColdFire 528x init code
authorGreg Ungerer <gerg@uclinux.org>
Mon, 16 Apr 2012 06:59:37 +0000 (16:59 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 20 May 2012 11:21:43 +0000 (21:21 +1000)
commitc222f5f41fca51a4639d88a940f9283d04ba2c0c
treecbe571ff2caf88de44514a9020384d6da427652c
parent174d2ca390bbc7ffc6b8f41f9bff1b17031a8d22
m68knommu: switch to GPIO init macros in ColdFire 528x init code

Modify the GPIO setup table to use the mcfgpio.h macros for table init.
Simplifies code and reduces line count significantly.

We also need to rename some of the GPIO registers to be consistent with
all other ColdFire parts (we can't use the new GPIO macros otherwise).

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Steven King <sfking@fdwdc.com>
arch/m68k/include/asm/m528xsim.h
arch/m68k/platform/528x/gpio.c