]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/arm_intcm/start.S
arm: Remove unused relocate_code() parameters
[people/ms/u-boot.git] / arch / arm / cpu / arm_intcm / start.S
index cc054e8c283a84dda1deb2f08c74acb0aeed679f..5e8c5289fc63c8491cd0566361b7b9f696ebea6e 100644 (file)
@@ -156,15 +156,13 @@ reset:
 /*------------------------------------------------------------------------------*/
 
 /*
- * void relocate_code (addr_sp, gd, addr_moni)
+ * void relocate_code(addr_moni)
  *
  * This function relocates the monitor code.
  */
        .globl  relocate_code
 relocate_code:
-       mov     r4, r0  /* save addr_sp */
-       mov     r5, r1  /* save addr of gd */
-       mov     r6, r2  /* save addr of destination */
+       mov     r6, r0  /* save addr of destination */
 
        adr     r0, _start
        subs    r9, r6, r0              /* r9 <- relocation offset */