]> git.sur5r.net Git - u-boot/commit
ddr: altera: sdram: Clean up set_sdr_static_cfg()
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 18:04:19 +0000 (20:04 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:26 +0000 (14:14 +0200)
commitb3bdb2204eb6a71330b4aa857e6edcc4c7145546
tree22b0d89f544f8b9fc30067106b2ec96f60a78f3f
parent0ef88300379bb13b8de6c309ae60c9ca255dcc8d
ddr: altera: sdram: Clean up set_sdr_static_cfg()

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