]> git.sur5r.net Git - u-boot/commitdiff
cosmetic: arm: fix comments in arch/arm/lib/crt0.S
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 15 May 2013 08:33:16 +0000 (17:33 +0900)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 10 Jun 2013 19:24:22 +0000 (21:24 +0200)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/arm/lib/crt0.S

index a9657d190f35923e66523247ee1bf32622088ace..a5bffb8da6df6e62645ea7aa9d403ac7853e1c64 100644 (file)
@@ -97,13 +97,13 @@ ENTRY(_main)
  * 'here' but relocated.
  */
 
-       ldr     sp, [r8, #GD_START_ADDR_SP]     /* r8 = gd->start_addr_sp */
+       ldr     sp, [r8, #GD_START_ADDR_SP]     /* sp = gd->start_addr_sp */
        bic     sp, sp, #7      /* 8-byte alignment for ABI compliance */
        ldr     r8, [r8, #GD_BD]                /* r8 = gd->bd */
        sub     r8, r8, #GD_SIZE                /* new GD is below bd */
 
        adr     lr, here
-       ldr     r0, [r8, #GD_RELOC_OFF]         /* lr = gd->start_addr_sp */
+       ldr     r0, [r8, #GD_RELOC_OFF]         /* r0 = gd->reloc_off */
        add     lr, lr, r0
        ldr     r0, [r8, #GD_RELOCADDR]         /* r0 = gd->relocaddr */
        b       relocate_code