]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ddr: altera: sdram: Clean up set_sdr_addr_rw()
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 17:50:56 +0000 (19:50 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:35 +0000 (08:17 +0200)
commite2b7fc4f1a854b236755c4d651e04d2deb3cd61c
tree83ef19fabdf15abe35318b83a54b6da943504d9f
parent011a7c633b97805929783d06bc8fbf56010fa899
ddr: altera: sdram: Clean up set_sdr_addr_rw()

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