]> git.sur5r.net Git - u-boot/blobdiff - board/xilinx/zynq/Makefile
arm: mxs: olinuxino: move DRAM config tuning to SPL
[u-boot] / board / xilinx / zynq / Makefile
index 6301a8c149660195311778b2b1314460298976a1..3b1eb4f74ad17ee42fc270c24f8bd08253934aa3 100644 (file)
@@ -6,3 +6,12 @@
 #
 
 obj-y  := board.o
+
+# Please copy ps7_init_gpl.c/h from hw project to this directory
+obj-$(CONFIG_SPL_BUILD) += \
+               $(if $(wildcard $(srctree)/$(src)/ps7_init_gpl.c), ps7_init_gpl.o, \
+                       $(if $(wildcard $(srctree)/$(src)/ps7_init.c), ps7_init.o legacy.o))
+
+# Suppress "warning: function declaration isn't a prototype"
+CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes
+CFLAGS_REMOVE_ps7_init.o := -Wstrict-prototypes