summaryrefslogtreecommitdiff
path: root/board/denx/m28evk/Makefile
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-12-02 03:47:40 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-09 17:30:10 +0100
commitc944a3ef8224a2d5936b31ebd72a6ebd842409d1 (patch)
treecb1c87948ae461cdded93c479983e9c472937637 /board/denx/m28evk/Makefile
parent74cf05fc53fc620c9d08eb14ad959c2a065f90c7 (diff)
downloadu-boot-imx-c944a3ef8224a2d5936b31ebd72a6ebd842409d1.zip
u-boot-imx-c944a3ef8224a2d5936b31ebd72a6ebd842409d1.tar.gz
u-boot-imx-c944a3ef8224a2d5936b31ebd72a6ebd842409d1.tar.bz2
i.MX28: Move SPL to arch/arm/cpu/arm926ejs/mx28
This moves SPL to common location so it can be reused by multiple boards. Also, this commit adjusts M28 SoM to avoid breakage due to the move. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/denx/m28evk/Makefile')
-rw-r--r--board/denx/m28evk/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/board/denx/m28evk/Makefile b/board/denx/m28evk/Makefile
index b6f002f..aa16c7d 100644
--- a/board/denx/m28evk/Makefile
+++ b/board/denx/m28evk/Makefile
@@ -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