]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/ixp/start.S
arm: fixloop(): do not use r8 for relocation
[people/ms/u-boot.git] / arch / arm / cpu / ixp / start.S
index 087f594ee2cba3fa819224333cace288557c97f3..87942cd7d5fbf8d7ba1192acb70f1bd7667e7574 100644 (file)
@@ -321,10 +321,10 @@ fixloop:
        ldr     r0, [r2]                /* r0 <- location to fix up, IN FLASH! */
        add     r0, r0, r9              /* r0 <- location to fix up in RAM */
        ldr     r1, [r2, #4]
-       and     r8, r1, #0xff
-       cmp     r8, #23                 /* relative fixup? */
+       and     r7, r1, #0xff
+       cmp     r7, #23                 /* relative fixup? */
        beq     fixrel
-       cmp     r8, #2                  /* absolute fixup? */
+       cmp     r7, #2                  /* absolute fixup? */
        beq     fixabs
        /* ignore unknown type of fixup */
        b       fixnext