mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
cosmetic: arm: fix comments in arch/arm/lib/crt0.S
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
parent
1b83470f3c
commit
58bb8f5f61
1 changed files with 2 additions and 2 deletions
|
@ -97,13 +97,13 @@ ENTRY(_main)
|
||||||
* 'here' but relocated.
|
* '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 */
|
bic sp, sp, #7 /* 8-byte alignment for ABI compliance */
|
||||||
ldr r8, [r8, #GD_BD] /* r8 = gd->bd */
|
ldr r8, [r8, #GD_BD] /* r8 = gd->bd */
|
||||||
sub r8, r8, #GD_SIZE /* new GD is below bd */
|
sub r8, r8, #GD_SIZE /* new GD is below bd */
|
||||||
|
|
||||||
adr lr, here
|
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
|
add lr, lr, r0
|
||||||
ldr r0, [r8, #GD_RELOCADDR] /* r0 = gd->relocaddr */
|
ldr r0, [r8, #GD_RELOCADDR] /* r0 = gd->relocaddr */
|
||||||
b relocate_code
|
b relocate_code
|
||||||
|
|
Loading…
Add table
Reference in a new issue