]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cpu: armv7: am33x: ddr: write emif ref_ctrl_shadow register
authorFelipe Balbi <balbi@ti.com>
Tue, 10 Jun 2014 20:01:19 +0000 (15:01 -0500)
committerTom Rini <trini@ti.com>
Thu, 19 Jun 2014 21:53:58 +0000 (17:53 -0400)
Signed-off-by: Felipe Balbi <balbi@ti.com>
arch/arm/cpu/armv7/am33xx/ddr.c

index 9a625c46613d4376e2f224863b531c9601823e06..bbe9d1a8deaabaf3020b7c240f5cac60501d57e0 100644 (file)
@@ -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);