]> git.dujemihanovic.xyz Git - u-boot.git/commit
ddr: altera: sdram: Clean up set_sdr_dram_timing*()
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 17:45:24 +0000 (19:45 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:26 +0000 (14:14 +0200)
commit60bd0df018f5f1b6baa41d782b3b9b7065f04b68
treed8884b48f110e6a5fb1578976c2df4c5c4090bde
parent067c853fe6ad67217f444428ccbfa038dfa8522d
ddr: altera: sdram: Clean up set_sdr_dram_timing*()

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.
Merge set_sdr_dram_timing{1,2,3,4,lowpwr}() into single function
set_sdr_dram_timing() , since there's no point in keeping all this
stuff separate anymore.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/altera/sdram.c