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