summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-04-04 19:10:12 +0200
committerMarek Vasut <marex@denx.de>2016-04-20 11:28:44 +0200
commitf3f777cdf00433866b1178e23a9a99e2eaf7d89e (patch)
treea20ba94e29906701f2a47817b7a4f4267cc86e0e /drivers
parentf5f8c411de0c1971475069ac011c858ca914eae7 (diff)
downloadu-boot-imx-f3f777cdf00433866b1178e23a9a99e2eaf7d89e.zip
u-boot-imx-f3f777cdf00433866b1178e23a9a99e2eaf7d89e.tar.gz
u-boot-imx-f3f777cdf00433866b1178e23a9a99e2eaf7d89e.tar.bz2
ddr: altera: Remove unnecessary ODT mode config
There is no point in resetting the ODT setting if the write test failed, since the code will always retry the calibration and thus reconfigure the ODT anyway OR the code will fail calibration and halt. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Chin Liang See <clsee@altera.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ddr/altera/sequencer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c
index 6bf75ba..254b130 100644
--- a/drivers/ddr/altera/sequencer.c
+++ b/drivers/ddr/altera/sequencer.c
@@ -1207,7 +1207,6 @@ rw_mgr_mem_calibrate_write_test(const u32 rank_bgn, const u32 write_group,
*bit_chk == param->write_correct_mask);
return *bit_chk == param->write_correct_mask;
} else {
- set_rank_and_odt_mask(0, RW_MGR_ODT_MODE_OFF);
debug_cond(DLEVEL == 2,
"write_test(%u,%u,ONE) : %u != %i => %i\n",
write_group, use_dm, *bit_chk, 0, *bit_chk != 0);