]> git.dujemihanovic.xyz Git - u-boot.git/commit
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)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:26 +0000 (14:14 +0200)
commit9a48a9ac6cf5d647e38bdf43b91fe751e5415f6e
tree895ace342b6c4be1b2b67b0513f943b0e47a525e
parentad2ba5d60774172c0651d6ed5e2e889251ed0d32
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