[U-Boot] [PATCH v1 14/24] driver/ddr/fsl: Fix a typo in timing_cfg_8 calculation

York Sun yorksun at freescale.com
Tue Jan 6 22:18:52 CET 2015


wwt_bg should match rrt_bg. It was a typo in driver.

Signed-off-by: York Sun <yorksun at freescale.com>
---

 drivers/ddr/fsl/ctrl_regs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ddr/fsl/ctrl_regs.c b/drivers/ddr/fsl/ctrl_regs.c
index 713c3ed..690e73d 100644
--- a/drivers/ddr/fsl/ctrl_regs.c
+++ b/drivers/ddr/fsl/ctrl_regs.c
@@ -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);
-- 
1.7.9.5



More information about the U-Boot mailing list