[PATCH v4 3/4] arm: set the relocated gd with gd->new_gd

Tom Rini trini at konsulko.com
Fri Apr 17 23:08:45 CEST 2020

On Tue, Mar 10, 2020 at 10:15:04AM +0100, Patrick Delaunay wrote:

> 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 <patrick.delaunay at st.com>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200417/f5709d45/attachment.sig>

More information about the U-Boot mailing list