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)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:27 +0000 (14:14 +0200)
commitf97606f237f3dc6b39bf4f7830a20a14255c72e1
treef4249c90c6e639ee8bc402e852f74363506231d4
parentbb056d9c07fd08a743b262b82f26be8fbe710955
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