]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/bachmann/ot1200/ot1200_spl.c
mx6: ddr: Allow changing REFSEL and REFR fields
[people/ms/u-boot.git] / board / bachmann / ot1200 / ot1200_spl.c
index f651a40a49e272410a2114372feb2db8a15a9764..9d28da4ba410ec18c22f378346dcbb73d204926c 100644 (file)
@@ -85,6 +85,8 @@ static struct mx6_ddr_sysinfo ot1200_ddr_sysinfo = {
        .bi_on      = 1,        /* Bank interleaving enabled */ /* war 1 */
        .sde_to_rst = 0x10,     /* 14 cycles, 200us (JEDEC default) */
        .rst_to_cke = 0x23,     /* 33 cycles, 500us (JEDEC default) */
+       .refsel = 1,            /* Refresh cycles at 32KHz */
+       .refr = 7,              /* 8 refresh commands per refresh cycle */
 };
 
 /* MT41K128M16JT-125 */