commit | 85cd4d7f8b753be14f2acdb8fa5884d570775f91 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Mon Jul 13 02:48:34 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Sat Aug 08 14:14:21 2015 +0200 |
tree | 6dc575b9c01079b69d588d390a63a5db9aa258a6 | |
parent | e624caff86378e4b438dcebeeac43f07482efd6e [diff] |
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 3 Factor out common code from search_left_edge() and search_right_edge() which checks whether searching for the window edge should stop. 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>