From: Felipe Balbi Date: Tue, 10 Jun 2014 20:01:19 +0000 (-0500) Subject: cpu: armv7: am33x: ddr: write emif ref_ctrl_shadow register X-Git-Tag: v2014.07~74^2~2^2~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9f1220a9ca9f583fbb6e85cf43674c4258c85d24;p=oweals%2Fu-boot.git cpu: armv7: am33x: ddr: write emif ref_ctrl_shadow register Signed-off-by: Felipe Balbi --- diff --git a/arch/arm/cpu/armv7/am33xx/ddr.c b/arch/arm/cpu/armv7/am33xx/ddr.c index 9a625c4661..bbe9d1a8de 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);