ARM: imx: Modify IMX_IO_P2V macro
authorRobert Lee <rob.lee@linaro.org>
Mon, 21 May 2012 22:50:24 +0000 (17:50 -0500)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 5 Jun 2012 06:48:35 +0000 (08:48 +0200)
commit2ce2e4b2b56dd564d27e7aadb92ed0c2342a9c57
treecfa4bb58666a2f88dba2775cbef210b6c1516735
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
ARM: imx: Modify IMX_IO_P2V macro

A change is needed in the IMX_IO_P2V macro to allow all imx5 platforms
to use common definitions when accessing registers of peripherals on
the AIPS2 bus.  With this change, IMX_IO_P2V(MX50_AIPS2_BASE_ADDR) ==
IMX_IO_P2V(MX51_AIPS2_BASE_ADDR) == IMX_IO_P2V(MX53_AIPS2_BASE_ADDR).

This change was tested for mapping conflicts using the iop2v script
found at git://git.pengutronix.de/git/ukl/imx-iop2v.git and by
performing a bootup of a default build using imx_v6_v7_defconfig
on a imx51 babbage board and imx53 loco board.  The comments were
modified to reflect the output given by the script which shows the
virtual address mappings.

Signed-off-by: Robert Lee <rob.lee@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/include/mach/hardware.h
This page took 0.024705 seconds and 5 git commands to generate.