aboutsummaryrefslogtreecommitdiff
path: root/board/vpac270/Makefile
diff options
context:
space:
mode:
authorMarek Vasut2011-10-31 14:17:21 +0100
committerAlbert ARIBAUD2011-12-06 23:59:32 +0100
commit411b9eaf554225c12ca253473002d0381cfec4ff (patch)
tree739046e4ca2b76a80eb57370c7230f26fb997fa4 /board/vpac270/Makefile
parent496471df9e8a4216386d4e43b95e531f0ca7f140 (diff)
PXA: Adapt Voipac PXA270 to OneNAND SPL
Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> V2: Add missing u-boot-spl.lds, convert bitshifts to division, convert to spl_onenand_load_image()
Diffstat (limited to 'board/vpac270/Makefile')
-rw-r--r--board/vpac270/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/vpac270/Makefile b/board/vpac270/Makefile
index b5c60fd209c..5967055996f 100644
--- a/board/vpac270/Makefile
+++ b/board/vpac270/Makefile
@@ -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))