]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ddbd347ff2b613cc6577a7800c82b0b65f3cb3d
treecbe571ff2caf88de44514a9020384d6da427652c
parente5d43467b2fd8d6517d5c63b53fed5896d82ada5
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