OMAP3: Fix timer handling to 1ms and CONFIG_SYS_HZ to 1000
[oweals/u-boot.git] / cpu / mpc85xx / ddr-gen3.c
index 99c325a4ff1f9dce7be21b7aefbc1b6b58d99d8a..8ac3d5fbebf4779f9c672c536bbe89cc2ccd00da 100644 (file)
@@ -98,10 +98,12 @@ void fsl_ddr_set_memctl_regs(const fsl_ddr_cfg_regs_t *regs,
 #endif
 
        /*
-        * 200 painful micro-seconds must elapse between
+        * 500 painful micro-seconds must elapse between
         * the DDR clock setup and the DDR config enable.
+        * DDR2 need 200 us, and DDR3 need 500 us from spec,
+        * we choose the max, that is 500 us for all of case.
         */
-       udelay(200);
+       udelay(500);
        asm volatile("sync;isync");
 
        /* Let the controller go */