From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 7 Oct 2016 09:43:34 -0400 Subject: [U-Boot] [U-Boot, RFC] ARM: create .secure_stack section only for PSCI In-Reply-To: <1474867290-17726-1-git-send-email-yamada.masahiro@socionext.com> References: <1474867290-17726-1-git-send-email-yamada.masahiro@socionext.com> Message-ID: <20161007134334.GI4884@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 Mon, Sep 26, 2016 at 02:21:30PM +0900, Masahiro Yamada wrote: > Jon Master reports that QEMU refuses to load a U-Boot image built > with CONFIG_ARMV7_NONSEC, but without CONFIG_ARMV7_PSCI since > commit 5a3aae68c74e ("ARM: armv7: guard memory reserve for PSCI > with #ifdef CONFIG_ARMV7_PSCI"). > > It looks like only PSCI that needs the Secure stack, so move > the #ifdef to guard the whole of .secure_stack allocation in order > not to create the empty section. > > Signed-off-by: Masahiro Yamada > Reported-by: Jon Masters > Link: http://patchwork.ozlabs.org/patch/664025/ We're close I think, but this breaks boards like ls1021aqds_nor_lpuart -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: