Skip to content
Commit 6de29923 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

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: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 15ac0c75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment