]> git.sur5r.net Git - u-boot/commit
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 3
authorMarek Vasut <marex@denx.de>
Mon, 13 Jul 2015 00:48:34 +0000 (02:48 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:21 +0000 (14:14 +0200)
commit901dc36e7a9eae6be1de24c7b61cfddee3bc80ef
tree6dc575b9c01079b69d588d390a63a5db9aa258a6
parent71120773bf1206434f35b4933b16afb4166054e7
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>
drivers/ddr/altera/sequencer.c