]> git.dujemihanovic.xyz Git - u-boot.git/commit
ddr: altera: Clean up sdr_*_phase() part 5
authorMarek Vasut <marex@denx.de>
Sun, 19 Jul 2015 03:26:49 +0000 (05:26 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:19 +0000 (14:14 +0200)
commit192d6f9fa3c3f06f27141ea79ad0642c5a23faa0
treeaa73f1608a55c251b0cae4b700be8cdeb808e8d4
parent38ed692238769a5f1080f24fc23dfad8389119b8
ddr: altera: Clean up sdr_*_phase() part 5

Pull out the loop for eaching working/non-working DQS enable phase
into a separate function, as this is mostly common code between.
Clean up sdr_working_phase() and sdr_nonworking_phase() while switching
these two functions to the common sdr_find_phase().

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