ARM: imx: use MXxy_IO_P2V macros to setup static mappings
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 25 Oct 2010 13:38:09 +0000 (15:38 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 17 Nov 2010 07:58:09 +0000 (08:58 +0100)
commit08ff97b5214143c3bd47add6ec49097cb848120a
treec0782c278ba2f28f6f622be3ce82aa1a9ddb2e22
parentf5d7a13b18706c3328c6aac3bf782a13cabf255a
ARM: imx: use MXxy_IO_P2V macros to setup static mappings

This makes less code rely on the virtual constants.

To further simplify code and reduce the needed boilerplate when
defining the static mappings a new helper macro is defined in
mach/hardware.h.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/mach-imx/mm-imx1.c
arch/arm/mach-imx/mm-imx21.c
arch/arm/mach-imx/mm-imx27.c
arch/arm/mach-mx25/mm.c
arch/arm/mach-mx3/mm.c
arch/arm/mach-mx5/mm.c
arch/arm/mach-mxc91231/mm.c
arch/arm/plat-mxc/include/mach/hardware.h