]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 4
authorMarek Vasut <marex@denx.de>
Sat, 18 Jul 2015 06:01:45 +0000 (08:01 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:32 +0000 (08:17 +0200)
commit6145e58ecdc358e8930f7b0f8c8d8bf17bc1a708
tree3fc031073c715db1483186796de5e95ba250853a
parentb96a4d04da1e6dd22a2f909261bf3ade48be17c9
ddr: altera: Clean up rw_mgr_mem_calibrate_vfifo_center() part 4

First of all, don't break strings in the debug_cond() calls across
multiple lines. Next, zap a couple of really odd casts in the code.
Finally, make i into a signed variable, so it is possible to avoid
constructs of the form:
    for (i = FOO;; i--) { <code>; if (i == 0) break; }.

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