summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-05-15 17:33:16 +0900
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-06-10 21:24:22 +0200
commit58bb8f5f6138fa56875574a709f5af98c600c2a9 (patch)
treeeef5e5e7183fac8f93a73674fb183cc82b6fdd03 /arch
parent1b83470f3c2eeae398cf90831f96c8ba4ed675fa (diff)
downloadu-boot-imx-58bb8f5f6138fa56875574a709f5af98c600c2a9.zip
u-boot-imx-58bb8f5f6138fa56875574a709f5af98c600c2a9.tar.gz
u-boot-imx-58bb8f5f6138fa56875574a709f5af98c600c2a9.tar.bz2
cosmetic: arm: fix comments in arch/arm/lib/crt0.S
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/lib/crt0.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S
index a9657d1..a5bffb8 100644
--- a/arch/arm/lib/crt0.S
+++ b/arch/arm/lib/crt0.S
@@ -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