ddr: altera: sdram: Clean up sdram_mmr_init_full() part 2
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 18:58:44 +0000 (20:58 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:35 +0000 (08:17 +0200)
commit228311e0a5f2e62b157613c854aca93882fd4b5e
treed0799d5ed1823d1d92b0fea869aa0bbedfa9e8a4
parente66365de77e3ae27b31bd60986d07258eb5d20d5
ddr: altera: sdram: Clean up sdram_mmr_init_full() part 2

Suck out all the CONFIG_HPS_SDR_CTRLCFG_* from sdram_mmr_init_full()
into the socfpga_sdram_config structure. There is still one ugly
macro left behind, but this will be taken care of in subsequent patch.

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