]> git.sur5r.net Git - u-boot/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)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:27 +0000 (14:14 +0200)
commit5af914189ec73b2241ba79950f98849fddaf32a2
tree7fb001c10390c637f203ffde607c4ef458653e7f
parent99f453e9533f590fe40432b62c131625d7e91e46
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