From: David Brownell Date: Sun, 12 Apr 2009 15:46:49 -0700 Subject: [U-Boot] [PATCH u-boot git] DaVinci now respects SKIP_LOWLEVEL_INIT Message-ID: <200904121546.49816.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 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 --- a/cpu/arm926ejs/davinci/lowlevel_init.S +++ b/cpu/arm926ejs/davinci/lowlevel_init.S @@ -45,6 +45,8 @@ #include +#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 */