]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
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)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:25 +0000 (14:14 +0200)
commitf36716971d3700a7b57be331136777bb82392de3
tree961d4de6d537bfedbf173d5a97150ba2e74b71cd
parent791d20e13d241f6ef43ead0f2c3ee777f5981c5b
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