Skip to content
Snippets Groups Projects
Commit 84f7411c authored by David Brownell's avatar David Brownell Committed by Wolfgang Denk
Browse files

DaVinci now respects SKIP_LOWLEVEL_INIT


Don't needlessly include lowlevel init code; that's only really
needed with boot-from NOR (not boot-from-NAND).  The 2nd stage
loader (UBL) handles that before it loads U-Boot.

Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
parent 641e0925
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,11 @@ include $(TOPDIR)/config.mk ...@@ -28,7 +28,11 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(SOC).a LIB = $(obj)lib$(SOC).a
COBJS = timer.o ether.o lxt972.o dp83848.o COBJS = timer.o ether.o lxt972.o dp83848.o
SOBJS = lowlevel_init.o reset.o SOBJS = reset.o
ifndef CONFIG_SKIP_LOWLEVEL_INIT
SOBJS += lowlevel_init.o
endif
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment