[U-Boot] [PATCH v3 12/14] tegra20: Remove armv4t build flags

Stephen Warren
2012-06-09T05:24:42Z

On 06/08/2012 03:16 PM, Allen Martin wrote:
> These flags were necessary when building tegra20 as a single binary
> that supported ARM7TDMI and Cortex A9. Now that the ARM7TDMI support
> is split into a separate SPL, this is no longer necessary.

> diff --git a/arch/arm/cpu/tegra20-common/Makefile b/arch/arm/cpu/tegra20-common/Makefile

> -CFLAGS_arch/arm/cpu/tegra20-common/ap20.o += -march=armv4t
> -CFLAGS_arch/arm/cpu/tegra20-common/clock.o += -march=armv4t
> CFLAGS_arch/arm/cpu/tegra20-common/warmboot_avp.o += -march=armv4t

You mentioned in the cover letter that warmboot_avp.o is special, and
that's the reason that the flags aren't removed from that file. Can you
explain that a bit more? I guess it's because this code is saved for the
AVP to run on resume from LP0, so the code needs to be compiled for AVP.
I"m mainly looking for the commit description to at least briefly
mention this.