ddr: altera: sdram: Clean up sdram_write_verify()
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 20:26:11 +0000 (22:26 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:36 +0000 (08:17 +0200)
commit69a2690fc5323567f9bfd1c67948bc80fdb8da64
tree78253b13e30e00f96e85864cc2c0dbd3a05974db
parentcec41d4174bc06f3f3368f6b0227f74484623682
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