diff options
Diffstat (limited to 'arch/arm/mach-imx/mm-imx21.c')
-rw-r--r-- | arch/arm/mach-imx/mm-imx21.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mm-imx21.c b/arch/arm/mach-imx/mm-imx21.c index e728af81d1b1..b6152c6b5b29 100644 --- a/arch/arm/mach-imx/mm-imx21.c +++ b/arch/arm/mach-imx/mm-imx21.c | |||
@@ -56,10 +56,13 @@ static struct map_desc imx21_io_desc[] __initdata = { | |||
56 | */ | 56 | */ |
57 | void __init mx21_map_io(void) | 57 | void __init mx21_map_io(void) |
58 | { | 58 | { |
59 | iotable_init(imx21_io_desc, ARRAY_SIZE(imx21_io_desc)); | ||
60 | } | ||
61 | |||
62 | void __init imx21_init_early(void) | ||
63 | { | ||
59 | mxc_set_cpu_type(MXC_CPU_MX21); | 64 | mxc_set_cpu_type(MXC_CPU_MX21); |
60 | mxc_arch_reset_init(MX21_IO_ADDRESS(MX21_WDOG_BASE_ADDR)); | 65 | mxc_arch_reset_init(MX21_IO_ADDRESS(MX21_WDOG_BASE_ADDR)); |
61 | |||
62 | iotable_init(imx21_io_desc, ARRAY_SIZE(imx21_io_desc)); | ||
63 | } | 66 | } |
64 | 67 | ||
65 | int imx21_register_gpios(void); | 68 | int imx21_register_gpios(void); |