commit | e624caff86378e4b438dcebeeac43f07482efd6e | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Mon Jul 13 02:38:15 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Sat Aug 08 14:14:21 2015 +0200 |
tree | c468646eba5be77218037007ae4699e2b1d3fbe0 | |
parent | b20a50628f171f1b80b66971478e8d3e14833d92 [diff] |
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 2 Factor out common code from rw_mgr_mem_calibrate_writes_center() and rw_mgr_mem_calibrate_vfifo_center() for searching for the left 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>