From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 17 Apr 2020 17:08:45 -0400 Subject: [PATCH v4 3/4] arm: set the relocated gd with gd->new_gd In-Reply-To: <20200310091505.24862-4-patrick.delaunay@st.com> References: <20200310091505.24862-1-patrick.delaunay@st.com> <20200310091505.24862-4-patrick.delaunay@st.com> Message-ID: <20200417210845.GL4555@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: