ddr: altera: sequencer: Wrap IO_* macros
authorMarek Vasut <marex@denx.de>
Sun, 2 Aug 2015 17:00:23 +0000 (19:00 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:29 +0000 (14:14 +0200)
commit10c14261f3c0644d2ae21785701f5aa3898d98e9
treeeb9b939cfeecbfc8ca007c891db3e246b5cf9e4f
parent1fa0c8c4e30c4aae67b79263c749a66a67d42e5e
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