[U-Boot] [PATCH u-boot git] DaVinci now respects SKIP_LOWLEVEL_INIT

David Brownell david-b at pacbell.net
Mon Apr 13 00:46:49 CEST 2009


From: David Brownell <dbrownell at users.sourceforge.net>

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 <dbrownell at users.sourceforge.net>

--- a/cpu/arm926ejs/davinci/lowlevel_init.S
+++ b/cpu/arm926ejs/davinci/lowlevel_init.S
@@ -45,6 +45,8 @@
 
 #include <config.h>
 
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
+
 .globl	lowlevel_init
 lowlevel_init:
 
@@ -705,3 +707,5 @@ DDR2_START_ADDR:
 	.word	0x80000000
 DUMMY_VAL:
 	.word	0xa55aa55a
+
+#endif /* !CONFIG_SKIP_LOWLEVEL_INIT */


More information about the U-Boot mailing list