ddr: altera: sdram: Clean up set_sdr_mp_threshold()
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 18:14:11 +0000 (20:14 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:35 +0000 (08:17 +0200)
commite5ab1406e6d76e5a91618f26faea981e86aa7f9d
treeadc8fd44ed737aea0bfc1e8f82ae64391bbb5044
parent301e6b8fcd34e14624b181a9758506893aac2fa7
ddr: altera: sdram: Clean up set_sdr_mp_threshold()

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