summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2015-01-06 13:18:52 -0800
committerYork Sun <yorksun@freescale.com>2015-02-24 13:09:26 -0800
commitdc1437afd761e83497d94eae0d6dcc2c2ff4711f (patch)
tree5577a74a63628b171f1cdf2cd6bbf59ac6b30086 /drivers
parent2aa44a2498b7316ddcd1284129f6ec4f8a4e4d5f (diff)
downloadu-boot-dc1437afd761e83497d94eae0d6dcc2c2ff4711f.tar.gz
u-boot-dc1437afd761e83497d94eae0d6dcc2c2ff4711f.tar.xz
u-boot-dc1437afd761e83497d94eae0d6dcc2c2ff4711f.zip
driver/ddr/fsl: Fix a typo in timing_cfg_8 calculation
wwt_bg should match rrt_bg. It was a typo in driver. Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ddr/fsl/ctrl_regs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ddr/fsl/ctrl_regs.c b/drivers/ddr/fsl/ctrl_regs.c
index 713c3ed761..690e73dacf 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);