]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:32 +0000 (08:17 +0200)
commitb8a851fdb22c984f4f612bf8d11873faab7c4bf1
treeaf2e7e4f1d5690aff8f3b77c9daef49a31a32aad
parent6145e58ecdc358e8930f7b0f8c8d8bf17bc1a708
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