ddr: altera: sequencer: Wrap misc remaining macros
authorMarek Vasut <marex@denx.de>
Sun, 2 Aug 2015 17:18:47 +0000 (19:18 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:37 +0000 (08:17 +0200)
commite98a5e4dee440dee841a837ef6d42d6293b2f3f2
tree40d0b1c343f5438991ae4ea00a61a46404ef3404
parent2c61b08914bbec15ac82e29b3a2cd4768300ff07
ddr: altera: sequencer: Wrap misc remaining macros

Introduce structure socfpga_sdram_misc_config to wrap the remaining
misc configuration values in board file. Again, introduce a function,
socfpga_get_sdram_misc_config(), which returns this the structure. This
is almost the final step toward wrapping the nasty QTS generated macros
in board files and reducing the pollution of the namespace.

Signed-off-by: Marek Vasut <marex@denx.de>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
arch/arm/mach-socfpga/include/mach/sdram.h
board/altera/socfpga/wrap_sdram_config.c
drivers/ddr/altera/sequencer.c