]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/armv7/am33xx/ddr.c
Merge branch 'u-boot/master'
[u-boot] / arch / arm / cpu / armv7 / am33xx / ddr.c
index 85cceae152c2dddf28335cf11846108bef7e7231..f5b16b4b722605729997892d41007580690ddb58 100644 (file)
@@ -164,9 +164,9 @@ void config_sdram(const struct emif_regs *regs, int nr)
                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->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);
 }
 
 /**