ddr: altera: sdram: Clean up sdram_calculate_size() part 2
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 19:47:16 +0000 (21:47 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:36 +0000 (08:17 +0200)
commitcec41d4174bc06f3f3368f6b0227f74484623682
treec188ae1f33b9029b8312cd91a45beee98963dfce
parent90861fc531ce3b027f0a779c3817f7210bd0bffe
ddr: altera: sdram: Clean up sdram_calculate_size() part 2

Clean up coding style, mostly clean up comments, add kerneldoc.
Also, zap assignment of the "cs" variable, which is outright
dead code, so just remove it.

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