]> git.sur5r.net Git - u-boot/commit
ddr: altera: Trivial mem_calibrate() indent cleanup
authorMarek Vasut <marex@denx.de>
Fri, 17 Jul 2015 00:07:12 +0000 (02:07 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:15 +0000 (14:14 +0200)
commit722c96857044831f46c9bdf263a84ad6d5c87463
treed2b958b0cf68dc064949e9b77a183b771ffa2a76
parent51cea0b6c0ef4989ee666dc99665b55dd02891ee
ddr: altera: Trivial mem_calibrate() indent cleanup

Redo the mega-condition such that if the calibration is to be skipped,
the positive branch of the condition does all the work and returns.
The negative branch, which is in fact the default behavior, is then
converted to a code which is no longer conditional. This trims down
the indent by one level.

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