Fix crash on sequoia in ppc_4xx_eth_init
[oweals/u-boot.git] / cpu / arm926ejs / start.S
index 725c6639a1e506054d74a7642291d5c058b5277f..297efe07c26fd5d50674f4060f0685ab2e371b8d 100644 (file)
@@ -182,6 +182,9 @@ clbss_l:str r2, [r0]                /* clear loop...                    */
        cmp     r0, r1
        ble     clbss_l
 
+       bl coloured_LED_init
+       bl red_LED_on
+
        ldr     pc, _start_armboot
 
 _start_armboot:
@@ -198,8 +201,7 @@ _start_armboot:
  *
  *************************************************************************
  */
-
-
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
 cpu_init_crit:
        /*
         * flush v4 I/D caches
@@ -225,6 +227,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 */
+
 /*
  *************************************************************************
  *