]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix arm926ejs compile when SKIP_LOWLEVEL_INIT is on
authorStelian Pop <stelian@popies.net>
Sat, 19 Jan 2008 21:09:35 +0000 (21:09 +0000)
committerPeter Pearse <peter.pearse@arm.com>
Thu, 14 Feb 2008 09:37:56 +0000 (09:37 +0000)
Fix arm926ejs compile when SKIP_LOWLEVEL_INIT is on.

cpu/arm926ejs/start.o: In function `cpu_init_crit':
.../cpu/arm926ejs/start.S:227: undefined reference to `lowlevel_init'

Signed-off-by: Stelian Pop <stelian@popies.net>
cpu/arm926ejs/start.S

index 725c6639a1e506054d74a7642291d5c058b5277f..aa09fbf724eebcf5835adbd45a69214f6f1ac1f1 100644 (file)
@@ -198,8 +198,7 @@ _start_armboot:
  *
  *************************************************************************
  */
-
-
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
 cpu_init_crit:
        /*
         * flush v4 I/D caches
@@ -225,6 +224,8 @@ cpu_init_crit:
        bl      lowlevel_init   /* go setup pll,mux,memory */
        mov     lr, ip          /* restore link */
        mov     pc, lr          /* back to my caller */
+#endif /* CONFIG_SKIP_LOWLEVEL_INIT */
+
 /*
  *************************************************************************
  *