[U-Boot] [RFC PATCH v2 27/28] tegra: Mark board init files for ARMv4t
Stephen Warren
swarren at nvidia.com
Mon Jan 9 17:46:12 CET 2012
On 01/06/2012 05:25 PM, Simon Glass wrote:
> Since Tegra executes early code on an ARMv4T (but the rest on ARMv7)
> we must mark the new board init files for compilation with ARMv4t
> architecture.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
This and patch 28 seem fine to me (but I didn't look at patches 1..26 to
see what the implications of patch 28 really is!) One question below:
> diff --git a/arch/arm/cpu/armv7/tegra2/config.mk b/arch/arm/cpu/armv7/tegra2/config.mk
...
> ifdef CONFIG_TEGRA2
> CFLAGS_arch/arm/lib/board.o += -march=armv4t
> +CFLAGS_common/board_f.o += -march=armv4t
> +CFLAGS_lib/initcall.o += -march=armv4t
> endif
A pre-existing issue, but given this is a Tegra2-specific file, how come
those CFLAG assignments are ifdef'd on CONFIG_TEGRA2?
--
nvpublic
More information about the U-Boot
mailing list