ARM: imx5: retrieve iim base from device tree
authorShawn Guo <shawn.guo@freescale.com>
Mon, 19 May 2014 14:23:43 +0000 (22:23 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 18 Jul 2014 08:10:07 +0000 (16:10 +0800)
commitee18a7154ee080af82cb81e93f1fdcbd44176d5e
treefb5e3fc69ce0914bd6c4371cd3ba6f946b6398fe
parent1f84e906f86968333eb00ed88b7f7e7a37b17589
ARM: imx5: retrieve iim base from device tree

Instead of using static define and mapping, the patch changes imx5 code
that reads chip revision from IIM to retrieve base address from device
tree and use dynamic mapping.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/cpu-imx5.c