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>
* 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();
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;