]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/arm1176/start.S
arm: Remove unused relocate_code() parameters
[people/ms/u-boot.git] / arch / arm / cpu / arm1176 / start.S
index 0b570d599bb74dd0ea1dac3adb65d434ca3e1f44..5654c19d6cdc16596044426d7c3ea5c24d366762 100644 (file)
@@ -241,15 +241,13 @@ skip_tcmdisable:
 /*------------------------------------------------------------------------------*/
 
 /*
- * 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 */