panda: fix 1GHz configuration
authorSebastien Jan <s-jan@ti.com>
Fri, 25 Mar 2011 07:27:26 +0000 (12:57 +0530)
committerAnand Gadiyar <gadiyar@ti.com>
Fri, 25 Mar 2011 07:27:26 +0000 (12:57 +0530)
With the introduction of the following patch:
97bb3ce xloader: Panda - fix ROM OTG boot path
prcm_init() is called earlier, but before scale_vcores().

This breaks when CONFIG_MPU_1000 is activated, so ensure that scale_vcores
is called before prcm_init().

Signed-off-by: Sebastien Jan <s-jan@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
board/omap4430panda/omap4430panda.c

index 9f16e56..962820b 100644 (file)
@@ -689,6 +689,11 @@ void s_init(void)
         * this is required to survive the muxconf in the case the ROM
         * started up USB OTG
         */
+/* Set VCORE1 = 1.3 V, VCORE2 = VCORE3 = 1.21V */
+#if defined(CONFIG_MPU_600) || defined(CONFIG_MPU_1000)
+       scale_vcores();
+#endif
+
        prcm_init();
 
        set_muxconf_regs();
@@ -703,11 +708,6 @@ void s_init(void)
 
        ddr_init();
 
-/* Set VCORE1 = 1.3 V, VCORE2 = VCORE3 = 1.21V */
-#if defined(CONFIG_MPU_600) || defined(CONFIG_MPU_1000)
-       scale_vcores();
-#endif
-
        if (rev == OMAP4430_ES1_0)
                return;