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>
Showing
- arch/arm/mach-socfpga/include/mach/sdram.h 19 additions, 0 deletionsarch/arm/mach-socfpga/include/mach/sdram.h
- board/altera/socfpga/wrap_sdram_config.c 23 additions, 0 deletionsboard/altera/socfpga/wrap_sdram_config.c
- drivers/ddr/altera/sequencer.c 2 additions, 0 deletionsdrivers/ddr/altera/sequencer.c
Loading
Please register or sign in to comment