ddr: altera: sequencer: Wrap RW_MGR_* macros
authorMarek Vasut <marex@denx.de>
Sun, 2 Aug 2015 16:12:08 +0000 (18:12 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:37 +0000 (08:17 +0200)
commit579aa1f6a946630bb77f2f8dfa34c8690ea7faa9
tree56545c010e95fb0ffc969f6d4ba472c63f570ce9
parent8549ef96568f0f8f98bcea75621733851621c733
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