]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/s3c44b0/start.S
arm: Remove unused relocate_code() parameters
[people/ms/u-boot.git] / arch / arm / cpu / s3c44b0 / start.S
index 579f6e2fa124d77a02a75c758ca53f971115b0c7..7361aa268a6683242a35229906d72630bc8a3c2a 100644 (file)
@@ -141,15 +141,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 */