X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cpu%2Fmips%2Fstart.S;h=930f9b3fde1a902eb2bb631dae12a0ad854726ea;hb=2f5d414ccb4024dd0992ff6b22561732dbc73590;hp=c92b16278267200d208cc649fa1d7722628d92da;hpb=74ac5facb988fc488a707db228b177ead63a6541;p=oweals%2Fu-boot.git diff --git a/cpu/mips/start.S b/cpu/mips/start.S index c92b162782..930f9b3fde 100644 --- a/cpu/mips/start.S +++ b/cpu/mips/start.S @@ -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)