]> Git Repo - u-boot.git/commit
arm: set the relocated gd with gd->new_gd
authorPatrick Delaunay <[email protected]>
Tue, 10 Mar 2020 09:15:04 +0000 (10:15 +0100)
committerTom Rini <[email protected]>
Fri, 17 Apr 2020 03:06:54 +0000 (23:06 -0400)
commit6de299230fa63d3865501b069657ac26cedebd9a
treec703a5b439db353fa65bb1e19625127549cf3b95
parent15ac0c7500f041ef80a0b7df8a192466d74e15c3
arm: set the relocated gd with gd->new_gd

Simplify the arm relocation behavior and get gd directly form new_gd,
as it is already done in crt0_64.S:

ldr x18, [x18, #GD_NEW_GD] /* x18 <- gd->new_gd */

This patch avoid assumption on new GD location (new GD is below bd -
with #GD_SIZE offset).

Signed-off-by: Patrick Delaunay <[email protected]>
arch/arm/lib/crt0.S
This page took 0.032726 seconds and 4 git commands to generate.