Use common function to set GPIOs for MX3 and MX5
authorStefano Babic <sbabic@denx.de>
Tue, 6 Jul 2010 15:05:06 +0000 (17:05 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 29 Sep 2010 09:24:30 +0000 (11:24 +0200)
commitc4ea142424fc5cb43a2db750cb772e84304e5fb8
treebc6abb5343579120ee5680c46cd927d82064b1e5
parent2e6e1772c0e34871769be4aef79748fe3e47d953
Use common function to set GPIOs for MX3 and MX5

The patch adds support for setting gpios to the
MX51 processor and change name to the corresponding
functions for MX31. In this way, it is possible to get rid
of nasty #ifdef switches related to the processor type.

Signed-off-by: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx31/mx31-regs.h
arch/arm/include/asm/arch-mx31/mx31.h
arch/arm/include/asm/arch-mx51/imx-regs.h
board/davedenx/qong/qong.c
drivers/gpio/Makefile
drivers/gpio/mx31_gpio.c [deleted file]
drivers/gpio/mxc_gpio.c [new file with mode: 0644]
drivers/spi/mxc_spi.c
include/configs/imx31_phycore.h
include/configs/qong.h
include/mxc_gpio.h [new file with mode: 0644]