ddr: altera: sdram: Clean up set_sdr_static_cfg()
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 18:04:19 +0000 (20:04 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:35 +0000 (08:17 +0200)
commit2bb15781c68406e498d54a5834e940b0754cea22
tree2196b693a212329832039c9b1fc87c7bec44e2ca
parente2b7fc4f1a854b236755c4d651e04d2deb3cd61c
ddr: altera: sdram: Clean up set_sdr_static_cfg()

Get rid of the constant clrsetbits_le32(), instead prepare the whole
content of the register once and write it at the end of the function.

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