X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fmips%2Fcpu%2Fmips32%2Fstart.S;h=68e59b596f1146f605a91383c7dd950945fddc2f;hb=c0d297946fd2540c8057eb1589429978da888dbb;hp=f5ebe79564cfe863fa404c2792a15a600955e3aa;hpb=680cb2dc3a7ba1a9a5e8ca919d980e99906a767b;p=u-boot diff --git a/arch/mips/cpu/mips32/start.S b/arch/mips/cpu/mips32/start.S index f5ebe79564..68e59b596f 100644 --- a/arch/mips/cpu/mips32/start.S +++ b/arch/mips/cpu/mips32/start.S @@ -51,7 +51,7 @@ _start: */ .word CONFIG_SYS_XWAY_EBU_BOOTCFG .word 0x0 -#elif defined(CONFIG_QEMU_MALTA) +#elif defined(CONFIG_MALTA) /* * Linux expects the Board ID here. */ @@ -227,10 +227,10 @@ in_ram: addi t1, 8 1: - lw t3, -4(t1) # t3 <-- relocation info + lw t8, -4(t1) # t8 <-- relocation info - sub t3, 3 - bnez t3, 2f # skip non R_MIPS_REL32 entries + li t3, 3 + bne t8, t3, 2f # skip non R_MIPS_REL32 entries nop lw t3, -8(t1) # t3 <-- location to fix up in FLASH