ddr: altera: sequencer: Wrap RW_MGR_* macros
authorMarek Vasut <marex@denx.de>
Sun, 2 Aug 2015 16:12:08 +0000 (18:12 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:29 +0000 (14:14 +0200)
commitd718a26b0c2b6ee869070386fea0ad68a3031987
tree55abeaf3e6e7b87313eed13d0c7ea33909766896
parent04955cf247cc75cc08c4667f785e74a2435f5061
ddr: altera: sequencer: Wrap RW_MGR_* macros

Introduce structure socfpga_sdram_rw_mgr_config to wrap the RW manager
configuration values in board file. Introduce a complementary function,
socfpga_get_sdram_rwmgr_config(), which returns this the structure.
This is another 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