From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Sat, 11 Apr 2015 21:39:37 -0600 Subject: [U-Boot] [PATCH v2] ARM: fix arch/arm/Makefile for Tegra In-Reply-To: <1428767894-5322-1-git-send-email-yamada.masahiro@socionext.com> References: <1428767894-5322-1-git-send-email-yamada.masahiro@socionext.com> Message-ID: <5529E8F9.4000102@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/11/2015 09:58 AM, Masahiro Yamada wrote: > Since commit 79d75d752717 (ARM: move -march=* and -mtune= options to > arch/arm/Makefile), all the Tegra boards are broken because the SPL > is built for ARMv7. > > Insert Tegra-specific code to arch/arm/Makefile to set compiler > flags for an earlier ARM architecture. > > Note: > The v1 patch for commit 79d75d752717 *was* correct when it was > submitted. Notice it was originally written for multi .config > configuration where Kconfig set CONFIG_CPU_V7/CONFIG_CPU_ARM720T for > Tegra U-Boot Main/SPL, respectively. But, until it was merged into > the mainline, commit e02ee2548afe (kconfig: switch to single .config > configuration) had been already applied there. Tested-by: Stephen Warren