
13 Apr
2009
13 Apr
'09
12:46 a.m.
From: David Brownell dbrownell@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@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 */