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)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:21 +0000 (14:14 +0200)
commitf0712c35021af4b1651617483682f86b3212c6f4
treeccd2b79afd962b8c6d908c91139969a13ea2ba5c
parent901dc36e7a9eae6be1de24c7b61cfddee3bc80ef
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