]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: fix arch/arm/Makefile for Tegra
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 11 Apr 2015 15:58:14 +0000 (00:58 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:40:03 +0000 (14:40 +0200)
commitb08a7f5c66e71c81773dcf29e7305322a4f8251a
tree2c4e7d1788ec272e874db30383dd90d03cb43948
parent43a1f0a4fc764e3e047d893d9815d842a53887e4
ARM: fix arch/arm/Makefile for Tegra

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.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reported-by: Stephen Warren <swarren@nvidia.com>
Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
Tested-by: Jan Kiszka <jan.kiszka@siemens.com>
arch/arm/Makefile