]> git.sur5r.net Git - u-boot/commit
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 1
authorMarek Vasut <marex@denx.de>
Mon, 13 Jul 2015 00:11:02 +0000 (02:11 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:21 +0000 (14:14 +0200)
commitc4907898a1281be6cf02fecc10331a5b0f501953
tree9bc455733e4e832bb946b5a24851add80f369e7e
parentdb3a606158f01ff20adbc42e8d682cdfff29165a
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 1

Factor out common code from rw_mgr_mem_calibrate_writes_center()
and rw_mgr_mem_calibrate_vfifo_center() for searching for the
right 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>
drivers/ddr/altera/sequencer.c