]> git.sur5r.net Git - u-boot/commit
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 5
authorMarek Vasut <marex@denx.de>
Sat, 18 Jul 2015 17:18:06 +0000 (19:18 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:22 +0000 (14:14 +0200)
commitafb3eb84b843c877165c75d64b3f2065e9dc83b1
tree23f7c32197d5819afb54bfb929267017f6c079ed
parentf0712c35021af4b1651617483682f86b3212c6f4
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 5

Factor out the get_window_mid_index() for finding the best DQ
window centering. This is again code common to two stages, so
pull it out.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/altera/sequencer.c