ddr: altera: sdram: Clean up sdram_mmr_init_full() part 5
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 19:24:31 +0000 (21:24 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:36 +0000 (08:17 +0200)
commit979f7af19a8010730d605f1d6fd0c3b440367348
treefd7d231bd9e52e5411c265c79b7ae9abadeae05c
parent9e9dd02ae178e0db586fc6eee80a208fc270defe
ddr: altera: sdram: Clean up sdram_mmr_init_full() part 5

Rework remaining two register setting functions such that they only
return the final register value. Move the register setting into the
block of register I/O in sdram_mmr_init_full().

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