Message ID | 201304092201.18950.arnd@arndb.de |
---|---|
State | Not Applicable, archived |
Headers | show |
On 04/09/2013 02:01 PM, Arnd Bergmann wrote: > On Tuesday 09 April 2013, Arnd Bergmann wrote: >> On Friday 05 April 2013, Stephen Warren wrote: >>> This branch converts Tegra to support multi-platform/single-zImage. > >> I had to reorder the branches in arm-soc to avoid starting a >> next/multiplatform2 branch, but I saw nothing that prevents us from >> having multiplatform after soc. > > I've applied this patch on top. ... > Subject: [PATCH] ARM: tegra: build assembly files with -march=armv7-a > > The tegra assembly files are written for ARMv7 and are not compatible > with ARMv6, which leads to build warnings when compiling a dual > ARMv6/v7 kernel. Since this code is only ever run on Tegra ARMv7 > hardware, we can tell the assembler which architecture level to > use. Ah yes, I hit that problem too, but wasn't sure how to solve it. The patch below looks good. Now I must go try a combo bcm2835+Tegra kernel on both devices... -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile index e40326d..bfc5b07 100644 --- a/arch/arm/mach-tegra/Makefile +++ b/arch/arm/mach-tegra/Makefile @@ -1,3 +1,5 @@ +asflags-y += -march=armv7-a + obj-y += common.o obj-y += io.o obj-y += irq.o