commit | 66acabcf43acf92a18a5d3f877ef4641db0d7ad4 | [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 | a4b9fa12fff26c24c8b6bf708ab9312cc9d1755b [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>