commit | 71120773bf1206434f35b4933b16afb4166054e7 | [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 | c4907898a1281be6cf02fecc10331a5b0f501953 [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>