]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:35 +0000 (08:17 +0200)
commit011a7c633b97805929783d06bc8fbf56010fa899
tree3b3e6c6dffcd6c17cb981c462a5fe755c50c2a3d
parent56f0b81389df7efcdaecd7d722c4fcbf513b71aa
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