imx: Add support for the SabreSD shipped with i.MX6DL
[oweals/u-boot.git] / board / vpac270 / Makefile
index b5c60fd209c84aa8ba540414a86f193c781c4c20..5967055996f83e1c38436375b0fcb39d9a30e15a 100644 (file)
@@ -23,7 +23,11 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)lib$(BOARD).o
 
+ifndef CONFIG_SPL_BUILD
 COBJS  := vpac270.o
+else
+COBJS  := onenand.o
+endif
 
 SRCS   := $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))