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