]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ddr: altera: sdram: Introduce socfpga_sdram_get_config()
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 19:35:18 +0000 (21:35 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:36 +0000 (08:17 +0200)
commite468acef6bf757f40a6f16de9426e51ae6187595
treecb0cf84426cc75aa9e045b3fba48135cbb0e114f
parent751613d650dea354a6876be0a84fb99345e7ae24
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>
arch/arm/mach-socfpga/include/mach/sdram.h
board/altera/socfpga/Makefile
board/altera/socfpga/wrap_sdram_config.c [new file with mode: 0644]
drivers/ddr/altera/sdram.c