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