commit | b20a50628f171f1b80b66971478e8d3e14833d92 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Mon Jul 13 02:11:02 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Sat Aug 08 14:14:21 2015 +0200 |
tree | 9bc455733e4e832bb946b5a24851add80f369e7e | |
parent | 4a78cc70ffade236ff6a2c382a5d86993d09040b [diff] |
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 1 Factor out common code from rw_mgr_mem_calibrate_writes_center() and rw_mgr_mem_calibrate_vfifo_center() for searching for the right edge of the window. The code is almost identical, so pull it into separate function and cater for the minor differences. Signed-off-by: Marek Vasut <marex@denx.de>