commit | e026b984e68cac45a8e18fc55dd48f1b75f91298 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Tue Apr 05 23:17:35 2016 +0200 |
committer | Marek Vasut <marex@denx.de> | Wed Apr 20 11:28:45 2016 +0200 |
tree | d66773bd01c44a03326beb5a77cf5c273ae6058a | |
parent | 85f76628a05539699a4aeb0a511109d322293033 [diff] |
ddr: altera: Repair DQ window centering code The code uses a lot of signed numbers, which ended up in variables of unsigned type, which resulted in all sorts of underflows. This in turn caused incorrect calibration on certain boards. Moreover, repair the readout of the DQ delay, which was being pulled from wrong register. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Chin Liang See <clsee@altera.com>