summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2011-11-17 00:04:05 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-24 10:23:31 +0100
commit09743ba635be487766d959f8d86f2bdb8686ad92 (patch)
treecd059dc76f0fabe69e461fac2b01187a7e3c7f0d
parenta04eba99f5a00aff54bef32cafa986830b094532 (diff)
downloadu-boot-imx-09743ba635be487766d959f8d86f2bdb8686ad92.zip
u-boot-imx-09743ba635be487766d959f8d86f2bdb8686ad92.tar.gz
u-boot-imx-09743ba635be487766d959f8d86f2bdb8686ad92.tar.bz2
tegra2: Always build with USE_PRIVATE_LIBGCC=yes.
The AVP on Tegra2 doesn't boot properly when U-Boot is linked against the GCC provided libgcc. To work around this, always build and link against a private libgcc for Tegra2-based boards. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Tested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r--arch/arm/cpu/armv7/tegra2/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/tegra2/config.mk b/arch/arm/cpu/armv7/tegra2/config.mk
index 8f9bdc9..2303dba 100644
--- a/arch/arm/cpu/armv7/tegra2/config.mk
+++ b/arch/arm/cpu/armv7/tegra2/config.mk
@@ -29,3 +29,5 @@
ifdef CONFIG_TEGRA2
CFLAGS_arch/arm/lib/board.o += -march=armv4t
endif
+
+USE_PRIVATE_LIBGCC = yes