summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorDave Liu <daveliu@freescale.com>2009-12-08 11:56:48 +0800
committerKumar Gala <galak@kernel.crashing.org>2010-04-26 22:37:53 -0500
commit99bac479dd183529f4e259a0de8d31644219d487 (patch)
tree2ccdc234baf44fc4dc11c4726b73d8e9e0e9189d /arch/powerpc
parentf8d05e5e5888d88ab42524d699924936e8e77970 (diff)
downloadu-boot-imx-99bac479dd183529f4e259a0de8d31644219d487.zip
u-boot-imx-99bac479dd183529f4e259a0de8d31644219d487.tar.gz
u-boot-imx-99bac479dd183529f4e259a0de8d31644219d487.tar.bz2
fsl-ddr: Add extra cycle to turnaround times
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c b/arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
index 03f9c43..4a282bc 100644
--- a/arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
+++ b/arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
@@ -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?