ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase_sweep_dq_in_delay...
authorMarek Vasut <marex@denx.de>
Sat, 18 Jul 2015 02:24:49 +0000 (04:24 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:18 +0000 (14:14 +0200)
commit25fefe8bf8dc05c32b22ffff281fb293d92dc7e5
tree7e8e0f0f20f8ef9ba61a4d1cdaea6ef4973388f7
parent9da1d8f5b40ea0d0a53f0760e9fc0d6832cd5ab5
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase_sweep_dq_in_delay() part 3

Replace at least one of the loops in this function with call of a
standard function call instead of the ad-hoc implementation. The
other one cannot be replaced, since the delay is incremented for
each group.

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