]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/lh7a40x/start.S
arm: Fixed the offset for the no relocation.
[karo-tx-uboot.git] / arch / arm / cpu / lh7a40x / start.S
index bd68cd47cf0131ee1b01f94e0970b320396eef9b..33b9269c7055cbd794e5758c22a2242fdc5f2c82 100644 (file)
@@ -184,6 +184,7 @@ stack_setup:
 
        adr     r0, _start
        cmp     r0, r6
+       moveq   r9, #0          /* no relocation. relocation offset(r9) = 0 */
        beq     clear_bss               /* skip relocation */
        mov     r1, r6                  /* r1 <- scratch for copy_loop */
        ldr     r3, _bss_start_ofs