ddr: altera: sequencer: Wrap misc remaining macros
Introduce structure socfpga_sdram_misc_config to wrap the remaining misc configuration values in board file. Again, introduce a function, socfpga_get_sdram_misc_config(), which returns this the structure. This is almost the final 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 17 additions, 0 deletionsarch/arm/mach-socfpga/include/mach/sdram.h
- board/altera/socfpga/wrap_sdram_config.c 21 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