]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ddr: altera: Clean up rw_mgr_mem_calibrate_read_test_patterns()
authorMarek Vasut <marex@denx.de>
Sat, 18 Jul 2015 01:55:07 +0000 (03:55 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:29 +0000 (08:17 +0200)
commitdda7f0e7cd556d4dc83e25d0cdcd46a9792a8f64
treef5f0c8bdf91ff416eb13227fb7d08a791541894e
parent720ca0a6a56e22b59616d908e68103fee6759862
ddr: altera: Clean up rw_mgr_mem_calibrate_read_test_patterns()

Rework this function such that the code is more readable. Zap
unused parameter "num_tries" while at it. Also wrap parameter
"bit_chk" into this function as it's value is not used outside.
Finally, fix the return value from this function to match the
common expectation, where 0 means success.

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