]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce137544cad375cdf118461d81d822ee22758b0b
treec0782c278ba2f28f6f622be3ce82aa1a9ddb2e22
parentbe91ee0b33ff52ebe469df20afd4e7064c35c669
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