aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/mm.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-12 04:11:42 -0500
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-19 15:54:35 -0500
commita528bc87841d958bbd394abc9266aee9cdf45cb8 (patch)
tree8d2d654a564e10aba023ae0a793357d3de5559fe /arch/arm/mach-mx3/mm.c
parent86f8efdaab49f5710f0aa3a3c1d76edc1d3d0df9 (diff)
ARM: mx3: introduce SOC_IMX31 and SOC_IMX35
Additionally convert some known to be good usages to the new names. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/mm.c')
-rw-r--r--arch/arm/mach-mx3/mm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-mx3/mm.c b/arch/arm/mach-mx3/mm.c
index 2e8127150ff1..47118f760244 100644
--- a/arch/arm/mach-mx3/mm.c
+++ b/arch/arm/mach-mx3/mm.c
@@ -36,7 +36,7 @@
36 * @ingroup Memory 36 * @ingroup Memory
37 */ 37 */
38 38
39#ifdef CONFIG_ARCH_MX31 39#ifdef CONFIG_SOC_IMX31
40static struct map_desc mx31_io_desc[] __initdata = { 40static struct map_desc mx31_io_desc[] __initdata = {
41 imx_map_entry(MX31, X_MEMC, MT_DEVICE), 41 imx_map_entry(MX31, X_MEMC, MT_DEVICE),
42 imx_map_entry(MX31, AVIC, MT_DEVICE_NONSHARED), 42 imx_map_entry(MX31, AVIC, MT_DEVICE_NONSHARED),
@@ -64,9 +64,9 @@ void __init mx31_init_irq(void)
64 mxc_init_irq(MX31_IO_ADDRESS(MX31_AVIC_BASE_ADDR)); 64 mxc_init_irq(MX31_IO_ADDRESS(MX31_AVIC_BASE_ADDR));
65 imx31_register_gpios(); 65 imx31_register_gpios();
66} 66}
67#endif /* ifdef CONFIG_ARCH_MX31 */ 67#endif /* ifdef CONFIG_SOC_IMX31 */
68 68
69#ifdef CONFIG_ARCH_MX35 69#ifdef CONFIG_SOC_IMX35
70static struct map_desc mx35_io_desc[] __initdata = { 70static struct map_desc mx35_io_desc[] __initdata = {
71 imx_map_entry(MX35, X_MEMC, MT_DEVICE), 71 imx_map_entry(MX35, X_MEMC, MT_DEVICE),
72 imx_map_entry(MX35, AVIC, MT_DEVICE_NONSHARED), 72 imx_map_entry(MX35, AVIC, MT_DEVICE_NONSHARED),
@@ -90,7 +90,7 @@ void __init mx35_init_irq(void)
90 mxc_init_irq(MX35_IO_ADDRESS(MX35_AVIC_BASE_ADDR)); 90 mxc_init_irq(MX35_IO_ADDRESS(MX35_AVIC_BASE_ADDR));
91 imx35_register_gpios(); 91 imx35_register_gpios();
92} 92}
93#endif /* ifdef CONFIG_ARCH_MX35 */ 93#endif /* ifdef CONFIG_SOC_IMX35 */
94 94
95#ifdef CONFIG_CACHE_L2X0 95#ifdef CONFIG_CACHE_L2X0
96static int mxc_init_l2x0(void) 96static int mxc_init_l2x0(void)