From: Tom Rini Date: Fri, 7 Sep 2018 11:57:50 -0400 Subject: [U-Boot] ARM: Specify aligned address for secure section instead of using attributes In-Reply-To: <20180906035628.9813-1-wens@csie.org> References: <20180906035628.9813-1-wens@csie.org> Message-ID: <20180907155750.GK26633@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 Thu, Sep 06, 2018 at 11:56:28AM +0800, Chen-Yu Tsai wrote: > In commit a1274cc94a20 ("ARM: Page align secure section only when it is > executed in situ"), we used output section attributes (the "ALIGN" > keyword after the colon) to specify the alignment requirements. Using > the constant "COMMONPAGE" there was recently broken in binutils 2.31 [1]. > > Binutils maintainer Alan Modra suggested the former method would still > work. Since both methods achieve the same result, this patch does just > that. This fixes the "reboot after bootm" issue we've been seeing on > sunxi when booting non-secure. > > [1] https://sourceware.org/bugzilla/show_bug.cgi?id=23571 > > Suggested-by: Alan Modra > Signed-off-by: Chen-Yu Tsai > Reviewed-by: Tom Rini > Acked-by: Jagan Teki Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: