i.MX28: Move SPL to arch/arm/cpu/arm926ejs/mx28
[platform/kernel/u-boot.git] / board / denx / m28evk / Makefile
index b6f002f..aa16c7d 100644 (file)
@@ -27,10 +27,8 @@ LIB  = $(obj)lib$(BOARD).o
 
 ifndef CONFIG_SPL_BUILD
 COBJS  := m28evk.o
-endif
-
-ifdef  CONFIG_SPL_BUILD
-COBJS  := mem_init.o mmc_boot.o power_init.o memsize.o
+else
+COBJS  := spl_boot.o
 endif
 
 SRCS   := $(COBJS:.o=.c)
@@ -41,11 +39,6 @@ $(LIB):      $(obj).depend $(OBJS)
 
 all:   $(ALL)
 
-ifdef  CONFIG_SPL_BUILD
-memsize.c:
-       ln -sf $(TOPDIR)/common/memsize.c $@
-endif
-
 #########################################################################
 
 # defines $(obj).depend target