]> git.ipfire.org Git - u-boot.git/blobdiff - board/kosagi/novena/novena_spl.c
mx6: ddr: Allow changing REFSEL and REFR fields
[u-boot.git] / board / kosagi / novena / novena_spl.c
index f779bb484abd73acacbc96422f6903c5f9e8be60..92c61aebb109442b19da7a269ce4c85bd46fe8e8 100644 (file)
@@ -520,6 +520,8 @@ static struct mx6_ddr_sysinfo novena_ddr_info = {
        .bi_on          = 1,    /* Bank interleaving enabled */
        .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 */
 };
 
 static struct mx6_ddr3_cfg elpida_4gib_1600 = {