From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 9 Oct 2020 09:02:34 -0400 Subject: [PATCH v2 2/6] arm64: PIE: Skip fixups if distance is zero In-Reply-To: <20200930163918.24995-3-andre.przywara@arm.com> References: <20200930163918.24995-1-andre.przywara@arm.com> <20200930163918.24995-3-andre.przywara@arm.com> Message-ID: <20201009130234.GY14816@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 Wed, Sep 30, 2020 at 05:39:14PM +0100, Andre Przywara wrote: > When the actual offset between link and runtime address is zero, there > is no need for patching up U-Boot early when running with > CONFIG_POSITION_INDEPENDENT. > > Skip the whole routine when the distance is 0. > > This helps when U-Boot is loaded into ROM, or in otherwise sensitive > memory locations. > > Signed-off-by: Andre Przywara > Reviewed-by: Stephen Warren 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: