]> git.dujemihanovic.xyz Git - u-boot.git/commit
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)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:26 +0000 (14:14 +0200)
commitdc3b91d9b6d223f61fcb3b1ec11e965dd5ddb2cb
tree1d9e3ae895c73117098415e4155acb9e66b4e6d5
parentbe9a9fc5e6dbc2775a490b79906b91e584b0b091
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