ddr: altera: sequencer: Wrap IO_* macros
authorMarek Vasut <marex@denx.de>
Sun, 2 Aug 2015 17:00:23 +0000 (19:00 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:37 +0000 (08:17 +0200)
commitcf2983cdd670cc6a510a5e71abc090becb12439d
treed93c38fcefd23e41e2f786b80ccbb72a18a9d4fa
parent9e95a0037d8b0ffcae2dd032e722ac463ac224b1
ddr: altera: sequencer: Wrap IO_* macros

Introduce structure socfpga_sdram_io_config to wrap the IO configuration
values in board file. Introduce socfpga_get_sdram_io_config() function,
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