diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-11-08 23:18:21 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2011-11-11 11:36:57 +0100 |
commit | 04fe4273d3a3a6d0a0de25d6bfa91e89917d60fb (patch) | |
tree | ccf31dea109a2907cf3e8480280e40f9efbecc98 /board/denx/m28evk/Makefile | |
parent | fc102728561da84fbe8496c0f72adf38f07896ac (diff) | |
download | u-boot-imx-04fe4273d3a3a6d0a0de25d6bfa91e89917d60fb.zip u-boot-imx-04fe4273d3a3a6d0a0de25d6bfa91e89917d60fb.tar.gz u-boot-imx-04fe4273d3a3a6d0a0de25d6bfa91e89917d60fb.tar.bz2 |
M28: Add MMC SPL
This patch adds SPL code for the M28 board.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Andy Fleming <afleming@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'board/denx/m28evk/Makefile')
-rw-r--r-- | board/denx/m28evk/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/denx/m28evk/Makefile b/board/denx/m28evk/Makefile index e6aba9a..47229e6 100644 --- a/board/denx/m28evk/Makefile +++ b/board/denx/m28evk/Makefile @@ -25,7 +25,13 @@ include $(TOPDIR)/config.mk 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 +endif SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) @@ -33,6 +39,8 @@ OBJS := $(addprefix $(obj),$(COBJS)) $(LIB): $(obj).depend $(OBJS) $(call cmd_link_o_target, $(OBJS)) +all: $(ALL) + ######################################################################### # defines $(obj).depend target |