]> git.sur5r.net Git - u-boot/commitdiff
driver/ddr/fsl: Fix a typo in timing_cfg_8 calculation
authorYork Sun <yorksun@freescale.com>
Tue, 6 Jan 2015 21:18:52 +0000 (13:18 -0800)
committerYork Sun <yorksun@freescale.com>
Tue, 24 Feb 2015 21:09:26 +0000 (13:09 -0800)
wwt_bg should match rrt_bg. It was a typo in driver.

Signed-off-by: York Sun <yorksun@freescale.com>
drivers/ddr/fsl/ctrl_regs.c

index 713c3ed7619c3b51cb32ded02146011e34b69525..690e73dacf6bea41af718be7bbcd680801e863bd 100644 (file)
@@ -1928,7 +1928,7 @@ static void set_timing_cfg_8(const unsigned int ctrl_num,
                wwt_bg = tccdl - 4;
        } else {
                rrt_bg = tccdl - 2;
-               wwt_bg = tccdl - 4;
+               wwt_bg = tccdl - 2;
        }
 
        acttoact_bg = picos_to_mclk(ctrl_num, common_dimm->trrdl_ps);