aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx1/generic.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-04-02 16:32:10 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2009-05-07 10:15:37 -0400
commitcd4a05f9df859e7cd2efa96e035444a3decb427a (patch)
treea09a737f4e41da61216fae85a845d6902b7a144c /arch/arm/mach-mx1/generic.c
parent13e9f61235616966f9f6caefd533046c19d35c92 (diff)
MXC: rename mxc_map_io to architecture specific versions
This allows us to have more mapping functions for more than one i.MX architecture in the kernel. As this is the earliest board specific hook we have, also use it to set the cpu type. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx1/generic.c')
-rw-r--r--arch/arm/mach-mx1/generic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-mx1/generic.c b/arch/arm/mach-mx1/generic.c
index 0dec6f300ffc..9c3528dbbfec 100644
--- a/arch/arm/mach-mx1/generic.c
+++ b/arch/arm/mach-mx1/generic.c
@@ -37,7 +37,9 @@ static struct map_desc imx_io_desc[] __initdata = {
37 } 37 }
38}; 38};
39 39
40void __init mxc_map_io(void) 40void __init mx1_map_io(void)
41{ 41{
42 mxc_set_cpu_type(MXC_CPU_MX1);
43
42 iotable_init(imx_io_desc, ARRAY_SIZE(imx_io_desc)); 44 iotable_init(imx_io_desc, ARRAY_SIZE(imx_io_desc));
43} 45}