wandboard: Fix hang when going into low frequency
[pandora-u-boot.git] / board / wandboard / spl.c
index c513b22..a21a3d0 100644 (file)
@@ -188,7 +188,7 @@ static struct mx6_ddr_sysinfo mem_q = {
        .rst_to_cke     = 0x23,
        .sde_to_rst     = 0x10,
        .refsel = 1,    /* Refresh cycles at 32KHz */
-       .refr = 7,      /* 8 refresh commands per refresh cycle */
+       .refr = 3,      /* 4 refresh commands per refresh cycle */
 };
 
 static struct mx6_mmdc_calibration mx6dl_1g_mmdc_calib = {
@@ -231,7 +231,7 @@ static struct mx6_ddr_sysinfo mem_dl = {
        .rst_to_cke     = 0x23,
        .sde_to_rst     = 0x10,
        .refsel = 1,    /* Refresh cycles at 32KHz */
-       .refr = 7,      /* 8 refresh commands per refresh cycle */
+       .refr = 3,      /* 4 refresh commands per refresh cycle */
 };
 
 /* DDR 32bit 512MB */
@@ -250,7 +250,7 @@ static struct mx6_ddr_sysinfo mem_s = {
        .rst_to_cke     = 0x23,
        .sde_to_rst     = 0x10,
        .refsel = 1,    /* Refresh cycles at 32KHz */
-       .refr = 7,      /* 8 refresh commands per refresh cycle */
+       .refr = 3,      /* 4 refresh commands per refresh cycle */
 };
 
 static void ccgr_init(void)