ARM: OMAP4: PRM: move omap4xxx_prm_init earlier in init order
authorTero Kristo <t-kristo@ti.com>
Wed, 19 Nov 2014 14:13:57 +0000 (16:13 +0200)
committerTero Kristo <t-kristo@ti.com>
Wed, 25 Mar 2015 09:03:44 +0000 (11:03 +0200)
OMAP4 has different ordering of PRM and CM init calls in the early init.
Re-oder these accordingly for OMAP4 also. This is needed so that we
can do some optimizations in the following patches for the PRCM init.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm/mach-omap2/io.c

index 364b530..460da22 100644 (file)
@@ -654,9 +654,9 @@ void __init omap4430_init_early(void)
        omap2_set_globals_prcm_mpu(OMAP2_L4_IO_ADDRESS(OMAP4430_PRCM_MPU_BASE));
        omap4xxx_check_revision();
        omap4xxx_check_features();
+       omap44xx_prm_init();
        omap4_cm_init();
        omap4_pm_init_early();
-       omap44xx_prm_init();
        omap44xx_voltagedomains_init();
        omap44xx_powerdomains_init();
        omap44xx_clockdomains_init();