aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mm-imx1.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/mm-imx1.c')
-rw-r--r--arch/arm/mach-imx/mm-imx1.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mm-imx1.c b/arch/arm/mach-imx/mm-imx1.c
index 729ae0915af8..378c61b1e74c 100644
--- a/arch/arm/mach-imx/mm-imx1.c
+++ b/arch/arm/mach-imx/mm-imx1.c
@@ -30,10 +30,13 @@ static struct map_desc imx_io_desc[] __initdata = {
30 30
31void __init mx1_map_io(void) 31void __init mx1_map_io(void)
32{ 32{
33 iotable_init(imx_io_desc, ARRAY_SIZE(imx_io_desc));
34}
35
36void __init imx1_init_early(void)
37{
33 mxc_set_cpu_type(MXC_CPU_MX1); 38 mxc_set_cpu_type(MXC_CPU_MX1);
34 mxc_arch_reset_init(MX1_IO_ADDRESS(MX1_WDT_BASE_ADDR)); 39 mxc_arch_reset_init(MX1_IO_ADDRESS(MX1_WDT_BASE_ADDR));
35
36 iotable_init(imx_io_desc, ARRAY_SIZE(imx_io_desc));
37} 40}
38 41
39int imx1_register_gpios(void); 42int imx1_register_gpios(void);