]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
fsl-ddr: Add extra cycle to turnaround times
authorDave Liu <daveliu@freescale.com>
Tue, 8 Dec 2009 03:56:48 +0000 (11:56 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 27 Apr 2010 03:37:53 +0000 (22:37 -0500)
Add an extra cycle turnaround time to read->write to ensure stability
at high DDR frequencies.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c

index 03f9c4380d4435c7abba85ecc59a215a88cc774e..4a282bc52d8df9fe2d4bebb61782530dd12961df 100644 (file)
@@ -198,6 +198,8 @@ static void set_timing_cfg_0(fsl_ddr_cfg_regs_t *ddr)
        pre_pd_exit_mclk = act_pd_exit_mclk;
        taxpd_mclk = 8;
        tmrd_mclk = 4;
+       /* set the turnaround time */
+       trwt_mclk = 1;
 #else /* CONFIG_FSL_DDR2 */
        /*
         * (tXARD and tXARDS). Empirical?