summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-06-10 15:01:19 -0500
committerTom Rini <trini@ti.com>2014-06-19 17:53:58 -0400
commit9f1220a9ca9f583fbb6e85cf43674c4258c85d24 (patch)
tree0e688591987bfbb647354f2e050864e4c9a6f11c /arch/arm
parentd51e5aeff64d5ca248ba013e940b22b8273f4e47 (diff)
downloadu-boot-imx-9f1220a9ca9f583fbb6e85cf43674c4258c85d24.zip
u-boot-imx-9f1220a9ca9f583fbb6e85cf43674c4258c85d24.tar.gz
u-boot-imx-9f1220a9ca9f583fbb6e85cf43674c4258c85d24.tar.bz2
cpu: armv7: am33x: ddr: write emif ref_ctrl_shadow register
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/cpu/armv7/am33xx/ddr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/ddr.c b/arch/arm/cpu/armv7/am33xx/ddr.c
index 9a625c4..bbe9d1a 100644
--- a/arch/arm/cpu/armv7/am33xx/ddr.c
+++ b/arch/arm/cpu/armv7/am33xx/ddr.c
@@ -95,6 +95,7 @@ void config_sdram_emif4d5(const struct emif_regs *regs, int nr)
&emif_reg[nr]->emif_rd_wr_exec_thresh);
writel(regs->ref_ctrl, &emif_reg[nr]->emif_sdram_ref_ctrl);
+ writel(regs->ref_ctrl, &emif_reg[nr]->emif_sdram_ref_ctrl_shdw);
writel(regs->sdram_config, &emif_reg[nr]->emif_sdram_config);
writel(regs->sdram_config, &cstat->secure_emif_sdram_config);