]> git.dujemihanovic.xyz Git - u-boot.git/commit
ddr: altera: Clean up sdr_*_phase() part 4
authorMarek Vasut <marex@denx.de>
Sun, 19 Jul 2015 03:01:12 +0000 (05:01 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:18 +0000 (14:14 +0200)
commit38ed692238769a5f1080f24fc23dfad8389119b8
treea840acc14c2fdae2cb8f19e859602dbe2d1828ad
parent36edef3c98f24260e667c727ed26f4c436d04c01
ddr: altera: Clean up sdr_*_phase() part 4

Get rid of found_{begin,end} variables. Instead of breaking out
through all of the loops, just return when the begin/end of the
window is found and be done with it. Also clean up the trailing
conditional expression, which is now much easier.

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