ARM: mx5/mm: consolidate TZIC map code
authorJason Liu <jason.hui@linaro.org>
Fri, 9 Sep 2011 09:17:49 +0000 (17:17 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 20 Sep 2011 07:55:06 +0000 (09:55 +0200)
commit4c54239058772160da123167de89603830815a88
tree48d31a9b008f19e8fcfd25feb819eb4a581e5704
parent281e10da20dcae1730a1aa37356da0688bde989e
ARM: mx5/mm: consolidate TZIC map code

Use a static mapping for TZIC to get rid of the duplicated code for
ioremap and the corresponding error handling. This is already done on
i.MX50.

This patch also removes TZIC mapping for i.mx51 TO1 since
there is no support for TO1 now since the following commit:
9ab4650 (ARM: imx: Get the silicon version from the IIM module)

Signed-off-by: Jason Liu <jason.hui@linaro.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/mach-mx5/mm.c
arch/arm/plat-mxc/include/mach/hardware.h
arch/arm/plat-mxc/include/mach/mx51.h
arch/arm/plat-mxc/include/mach/mx53.h