ARM: OMAP2+: AM43x PRCM init
authorAmbresh K <ambresh@ti.com>
Sat, 12 Oct 2013 10:16:37 +0000 (15:46 +0530)
committerPaul Walmsley <paul@pwsan.com>
Mon, 14 Oct 2013 04:49:16 +0000 (22:49 -0600)
Initialise AM43x HWMOD, powerdomains and clockdomains.

Signed-off-by: Ambresh K <ambresh@ti.com>
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Acked-by: Rajendra Nayak <rnayak@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/io.c

index ff2113c..c90f647 100644 (file)
@@ -594,7 +594,13 @@ void __init am43xx_init_early(void)
                                  NULL);
        omap2_set_globals_prm(AM33XX_L4_WK_IO_ADDRESS(AM43XX_PRCM_BASE));
        omap2_set_globals_cm(AM33XX_L4_WK_IO_ADDRESS(AM43XX_PRCM_BASE), NULL);
+       omap_prm_base_init();
+       omap_cm_base_init();
        omap3xxx_check_revision();
+       am43xx_powerdomains_init();
+       am43xx_clockdomains_init();
+       am43xx_hwmod_init();
+       omap_hwmod_init_postsetup();
 }
 #endif