]> git.sur5r.net Git - u-boot/commit
ddr: altera: sequencer: Wrap misc remaining macros
authorMarek Vasut <marex@denx.de>
Sun, 2 Aug 2015 17:18:47 +0000 (19:18 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:29 +0000 (14:14 +0200)
commit042ff2d0facaa520f1bc02b0695eb6a4e1d30b7a
tree1d5651fb1f7588087c1ea95487de020a3069a986
parent160695d88612d1e1c094fef33d279c297796b881
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