From: David Brownell Date: Tue, 14 Apr 2009 08:52:58 -0700 Subject: [U-Boot] [PATCH u-boot git] DaVinci now respects SKIP_LOWLEVEL_INIT In-Reply-To: <20090414105921.3A35083420E8@gemini.denx.de> References: <200904121546.49816.david-b@pacbell.net> <200904131617.55202.david-b@pacbell.net> <20090414105921.3A35083420E8@gemini.denx.de> Message-ID: <200904140852.58231.david-b@pacbell.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 14 April 2009, Wolfgang Denk wrote: > Please don't do it like this. Please use the same style like > everybody else. Having to guess .. you mean don't indent? ========== CUT HERE From: David Brownell 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: David Brownell --- cpu/arm926ejs/davinci/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/cpu/arm926ejs/davinci/Makefile +++ b/cpu/arm926ejs/davinci/Makefile @@ -28,7 +28,11 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(SOC).a 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) OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))