ddr: altera: sdram: Clean up sdram_write_verify()
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 20:26:11 +0000 (22:26 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:28 +0000 (14:14 +0200)
commit269de4f0abe832e753bcd34c0dda560e9a6489de
treea5fedc3f0636468f3aafda24cbf54aca4406195e
parentf97606f237f3dc6b39bf4f7830a20a14255c72e1
ddr: altera: sdram: Clean up sdram_write_verify()

Clean the function up so that it's obvious what it is doing,
fix the formating strings in debug outputs, add kerneldoc.
Make the function return proper errno-compliant return values
and propagate this change throughout sdram.c

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