summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/am33xx/ddr.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-07-30 14:49:50 -0700
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:13 +0200
commitd4898ea89684aa285cfb34fbab6831c28dc0ed33 (patch)
treed7413e876f856972cb78e98b854f9fe9826d426e /arch/arm/cpu/armv7/am33xx/ddr.c
parent318f27c98fc9c07df983d4214ef723331181e7db (diff)
am33xx: Add DDR3 (Micron MT41J128M16JT-125) timings and support
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/am33xx/ddr.c')
-rw-r--r--arch/arm/cpu/armv7/am33xx/ddr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/ddr.c b/arch/arm/cpu/armv7/am33xx/ddr.c
index bceed8150d1..cffd4abcf7f 100644
--- a/arch/arm/cpu/armv7/am33xx/ddr.c
+++ b/arch/arm/cpu/armv7/am33xx/ddr.c
@@ -46,6 +46,8 @@ void config_sdram(const struct emif_regs *regs)
{
writel(regs->ref_ctrl, &emif_reg->emif_sdram_ref_ctrl);
writel(regs->ref_ctrl, &emif_reg->emif_sdram_ref_ctrl_shdw);
+ if (regs->zq_config)
+ writel(regs->zq_config, &emif_reg->emif_zq_config);
writel(regs->sdram_config, &emif_reg->emif_sdram_config);
}