From: Thierry Reding Date: Thu, 24 May 2012 08:46:50 +0200 Subject: [U-Boot] [PATCH v4 4/6] armv7: Use -march=armv7-a and thereby enable Thumb-2 In-Reply-To: <4FBD0034.8060505@wwwdotorg.org> References: <1331227222-12419-1-git-send-email-aneesh@ti.com> <1331227222-12419-5-git-send-email-aneesh@ti.com> <20120523150145.GA11718@avionic-0098.mockup.avionic-design.de> <4FBD0034.8060505@wwwdotorg.org> Message-ID: <20120524064650.GA7020@avionic-0098.mockup.avionic-design.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de * Stephen Warren wrote: > On 05/23/2012 09:01 AM, Thierry Reding wrote: > > * Aneesh V wrote: > >> Enable -march=armv7-a for armv7 platforms if the tool-chain > >> supports it. This in turn results in Thumb-2 code generated for > >> these platforms if CONFIG_SYS_THUMB_BUILD is enabled. > >> > >> Signed-off-by: Aneesh V --- I believe armv7-a is > >> fine for all the SoCs except Tegra2 and I see that Tegra2 is > >> already making the necessary exception in > >> .../armv7/tegra2/config.mk > >> > >> Let me know if any other SoC has a problem with armv7-a > > > > I haven't been able to boot any Tegra2 boards with this patch > > applied. I'm guessing that some exceptions for Tegra2 code are > > still missing, though they shouldn't work with armv5 either since > > the AVP is armv4 only. For now I've conditionalized the > > -march=armv7-a on !CONFIG_TEGRA2. > > I have the following patch locally, courtesy of Allen Martin. Allen, > are you going to (or did you) post the final version here? Allen's final patch did make it into the Tegra tree and I can confirm that the issue is gone now. Thanks. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: