Patchwork [U-Boot,v2] arm: fix a comment

login
register
mail settings
Submitter y@epochmail.jp.panasonic.com
Date May 10, 2013, 4:21 a.m.
Message ID <1368159713-3922-1-git-send-email-y>
Download mbox | patch
Permalink /patch/242905/
State Superseded, archived
Delegated to: Tom Rini
Headers show

Comments

y@epochmail.jp.panasonic.com - May 10, 2013, 4:21 a.m.
From: Masahiro Yamada <yamada.m@jp.panasonic.com>

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

Changed for v2:
   - Fix one more comment

 arch/arm/lib/crt0.S |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Masahiro Yamada - May 10, 2013, 8:23 a.m.
I sent this mail by operation mistake of "git send-email".

The mail address "y@epochmail.jp.panasonic.com" written in
"From:" field of the email is incorrect.

I posted again with the same subject.
The Message-ID of the correct mail is 
<1368159848-3964-1-git-send-email-yamada.m@jp.panasonic.com>

Very sorry for noise.

Patch

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