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