ddr: altera: sdram: Clean up set_sdr_mp_weight()
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 18:10:23 +0000 (20:10 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:35 +0000 (08:17 +0200)
commit047760d9a4ea0c8fe5e5820d2bd97fb04ca260eb
treeb1da279bc1fe273c3fe7870ec9627e7f74b71d12
parentd3aa320b67b3a6fc0fb97d3b7b2a57601f8435a4
ddr: altera: sdram: Clean up set_sdr_mp_weight()

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