aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mm-imx27.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/mm-imx27.c')
-rw-r--r--arch/arm/mach-imx/mm-imx27.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mm-imx27.c b/arch/arm/mach-imx/mm-imx27.c
index 374e48b7a412..bcaa3b69c456 100644
--- a/arch/arm/mach-imx/mm-imx27.c
+++ b/arch/arm/mach-imx/mm-imx27.c
@@ -56,10 +56,13 @@ static struct map_desc imx27_io_desc[] __initdata = {
56 */ 56 */
57void __init mx27_map_io(void) 57void __init mx27_map_io(void)
58{ 58{
59 iotable_init(imx27_io_desc, ARRAY_SIZE(imx27_io_desc));
60}
61
62void __init imx27_init_early(void)
63{
59 mxc_set_cpu_type(MXC_CPU_MX27); 64 mxc_set_cpu_type(MXC_CPU_MX27);
60 mxc_arch_reset_init(MX27_IO_ADDRESS(MX27_WDOG_BASE_ADDR)); 65 mxc_arch_reset_init(MX27_IO_ADDRESS(MX27_WDOG_BASE_ADDR));
61
62 iotable_init(imx27_io_desc, ARRAY_SIZE(imx27_io_desc));
63} 66}
64 67
65int imx27_register_gpios(void); 68int imx27_register_gpios(void);