From: Tom Rini Date: Mon, 9 Dec 2019 13:48:03 -0500 Subject: [PATCH 1/1] arm: -march=armv5t for ARM11 In-Reply-To: <20191207081450.3888-1-xypron.glpk@gmx.de> References: <20191207081450.3888-1-xypron.glpk@gmx.de> Message-ID: <20191209184803.GN9549@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 Sat, Dec 07, 2019 at 09:14:50AM +0100, Heinrich Schuchardt wrote: > In GCC 9 support for the Armv5 and Armv5E architectures (which have no > known implementations) has been removed, cf. > https://gcc.gnu.org/gcc-9/changes.html > > Commit 16540d07fd62 ("arm: fix -march for ARM11") changed the value of the > compiler flag from -march=armv5 and -march=armv5t into -march=armv6 for > ARM11. > > The values prior to this patch were: > > arch-$(CONFIG_CPU_ARM1136) =-march=armv5 > arch-$(CONFIG_CPU_ARM1176) =-march=armv5t > > The change lead to a regression with the Raspberry Pi Zero W not booting > anymore. > > Use -march=armv5t both for ARM1136 and ARM1176. > > Fixes: 16540d07fd62 ("arm: fix -march for ARM11") > Signed-off-by: Heinrich Schuchardt > Tested-by: Joris Offouga Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: