-
- Downloads
ddr: altera: sdram: Introduce socfpga_sdram_get_config()
Introduce socfpga_sdram_get_config() function implement in a board file,
which returns the socfpga_sdram_config structure. This is the last step
in cleaning up the socfpga_mmr_init_full(), but not the last step which
allows removing the inclusion of sdram.h from drivers/ddr/altera/sdram.c
thus far.
Signed-off-by:
Marek Vasut <marex@denx.de>
Showing
- arch/arm/mach-socfpga/include/mach/sdram.h 42 additions, 0 deletionsarch/arm/mach-socfpga/include/mach/sdram.h
- board/altera/socfpga/Makefile 2 additions, 1 deletionboard/altera/socfpga/Makefile
- board/altera/socfpga/wrap_sdram_config.c 185 additions, 0 deletionsboard/altera/socfpga/wrap_sdram_config.c
- drivers/ddr/altera/sdram.c 5 additions, 211 deletionsdrivers/ddr/altera/sdram.c
Loading
Please register or sign in to comment