summaryrefslogtreecommitdiff
path: root/arch/mips/cpu
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-06-14 14:47:10 +0200
committerTom Rini <trini@ti.com>2013-07-24 09:51:06 -0400
commitd707e5b713e1188556027d835a542d1fc888179d (patch)
treeb0a2f6fb149b075b6d9ade9bb236a5fbb1b1ecb6 /arch/mips/cpu
parente5c868a2089d5aad3c91e008dc978c78012f1fa1 (diff)
downloadu-boot-imx-d707e5b713e1188556027d835a542d1fc888179d.zip
u-boot-imx-d707e5b713e1188556027d835a542d1fc888179d.tar.gz
u-boot-imx-d707e5b713e1188556027d835a542d1fc888179d.tar.bz2
MIPS: xburst/start.S: rework relocation info check
Make it similar to the code in mips{32,64}/start.S, in order to allow further unifications. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'arch/mips/cpu')
-rw-r--r--arch/mips/cpu/xburst/start.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/cpu/xburst/start.S b/arch/mips/cpu/xburst/start.S
index e5ff4e0..10dffb4 100644
--- a/arch/mips/cpu/xburst/start.S
+++ b/arch/mips/cpu/xburst/start.S
@@ -139,10 +139,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