summaryrefslogtreecommitdiff
path: root/cpu/arm926ejs/at91/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-06-13 12:50:04 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-06-21 16:18:12 +0200
commit8096c51fd4e611ed666dbe77767e81af5d94fc7b (patch)
treec5862e1da5bb47c4fcbcf40010c3ea51dcff19c5 /cpu/arm926ejs/at91/Makefile
parent1b3b7c640d04df2ba9a9d947117d112a75fee7f4 (diff)
downloadu-boot-imx-8096c51fd4e611ed666dbe77767e81af5d94fc7b.zip
u-boot-imx-8096c51fd4e611ed666dbe77767e81af5d94fc7b.tar.gz
u-boot-imx-8096c51fd4e611ed666dbe77767e81af5d94fc7b.tar.bz2
at91: unify nor boot support
the lowlevel init sequence is the same so unify it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/arm926ejs/at91/Makefile')
-rw-r--r--cpu/arm926ejs/at91/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpu/arm926ejs/at91/Makefile b/cpu/arm926ejs/at91/Makefile
index 66eec76..3da89f4 100644
--- a/cpu/arm926ejs/at91/Makefile
+++ b/cpu/arm926ejs/at91/Makefile
@@ -37,8 +37,12 @@ COBJS-y += cpu.o
COBJS-y += reset.o
COBJS-y += timer.o
-SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
-OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
+ifndef CONFIG_SKIP_LOWLEVEL_INIT
+SOBJS-y := lowlevel_init.o
+endif
+
+SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
all: $(obj).depend $(LIB)