[MIPS] cpu/mips/cache.S: Introduce NESTED/LEAF/END macros
[oweals/u-boot.git] / cpu / mips / start.S
index c92b16278267200d208cc649fa1d7722628d92da..930f9b3fde1a902eb2bb631dae12a0ad854726ea 100644 (file)
@@ -267,10 +267,12 @@ reset:
 
        /* Set up temporary stack.
         */
+#ifdef CFG_INIT_RAM_LOCK_MIPS
        li      a0, CFG_INIT_SP_OFFSET
        la      t9, mips_cache_lock
        jalr    t9
        nop
+#endif
 
        li      t0, CFG_SDRAM_BASE + CFG_INIT_SP_OFFSET
        la      sp, 0(t0)