summaryrefslogtreecommitdiff
path: root/board/altera/socfpga/Makefile
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-08-01 21:35:18 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:27 +0200
commit5af914189ec73b2241ba79950f98849fddaf32a2 (patch)
tree7fb001c10390c637f203ffde607c4ef458653e7f /board/altera/socfpga/Makefile
parent99f453e9533f590fe40432b62c131625d7e91e46 (diff)
downloadu-boot-imx-5af914189ec73b2241ba79950f98849fddaf32a2.zip
u-boot-imx-5af914189ec73b2241ba79950f98849fddaf32a2.tar.gz
u-boot-imx-5af914189ec73b2241ba79950f98849fddaf32a2.tar.bz2
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>
Diffstat (limited to 'board/altera/socfpga/Makefile')
-rw-r--r--board/altera/socfpga/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/altera/socfpga/Makefile b/board/altera/socfpga/Makefile
index 640f629..5a15c71 100644
--- a/board/altera/socfpga/Makefile
+++ b/board/altera/socfpga/Makefile
@@ -7,4 +7,5 @@
#
obj-y := socfpga.o wrap_pll_config.o
-obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o
+obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o \
+ wrap_sdram_config.o