ddr: altera: sdram: Clean up compute_errata_rows() part 2
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 17:20:19 +0000 (19:20 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:34 +0000 (08:17 +0200)
commitacf524187d1d7c028ad2ac7662bee6163514c728
tree69709a1ae2f5e5fc05af504aec06849275ee990e
parentfe0267a7efb78a7a30684f917a88d4ec71912c52
ddr: altera: sdram: Clean up compute_errata_rows() part 2

Remove all parameters of this function, since they are only constants
passed in from another function, so make them local. Also, rename the
function to get_errata_rows() as this is closer to what it does.

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