From patchwork Thu Nov 17 10:04:05 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 126171 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 1590CB71FE for ; Thu, 17 Nov 2011 21:05:04 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B52362889D; Thu, 17 Nov 2011 11:04:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9C61NGE3bP1m; Thu, 17 Nov 2011 11:04:59 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 31FD4288D3; Thu, 17 Nov 2011 11:04:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 02C14288B2 for ; Thu, 17 Nov 2011 11:04:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GxV5VdgG4S2P for ; Thu, 17 Nov 2011 11:04:51 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by theia.denx.de (Postfix) with ESMTP id D0C1A288D1 for ; Thu, 17 Nov 2011 11:04:49 +0100 (CET) Received: from benhur.adnet.avionic-design.de (p548E12B2.dip0.t-ipconnect.de [84.142.18.178]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0LoNh8-1Qyltj1fjO-00gUhZ; Thu, 17 Nov 2011 11:04:49 +0100 Received: from mailbox.adnet.avionic-design.de (add-virt-zarafa.adnet.avionic-design.de [172.20.129.9]) by benhur.adnet.avionic-design.de (Postfix) with ESMTP id 921CC2C411D; Thu, 17 Nov 2011 11:04:50 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailbox.adnet.avionic-design.de (Postfix) with ESMTP id F3E4F2A281BE; Thu, 17 Nov 2011 11:04:48 +0100 (CET) X-Virus-Scanned: amavisd-new at avionic-design.de Received: from mailbox.adnet.avionic-design.de ([127.0.0.1]) by localhost (mailbox.avionic-design.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TEotv1hgQrql; Thu, 17 Nov 2011 11:04:35 +0100 (CET) Received: from localhost (avionic-0098.adnet.avionic-design.de [172.20.31.233]) (Authenticated sender: thierry.reding) by mailbox.adnet.avionic-design.de (Postfix) with ESMTPA id A682E2A281C5; Thu, 17 Nov 2011 11:04:07 +0100 (CET) From: Thierry Reding To: Tom Warren , Simon Glass Date: Thu, 17 Nov 2011 11:04:05 +0100 Message-Id: <1321524246-5187-2-git-send-email-thierry.reding@avionic-design.de> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1321524246-5187-1-git-send-email-thierry.reding@avionic-design.de> References: <1321524246-5187-1-git-send-email-thierry.reding@avionic-design.de> X-Provags-ID: V02:K0:tNXedbiU6Kv0dlph3PwHOhdk8uQ+7FgPX9XTFvkdyPj ZrfeZHA0DOQxEcuGTyd/75Watr0bibofW9zBsjA+bFeVfO74JB WGY4TXCL1YbT8riXeEXWaaP3P9IeO2AtpW6UvU1vyPGvjxCO9b Ou+Hkfquv9e+5F0p4S7YuSFxsRJ1ajVzp3f43Q4GlD93RbVjbs iqYfaoxLNtSEgS4xGsxPa/gdk5/8mx7C3BGq22del7PemVAwOX uP7M2tiszBXvNR13zwmA5qVO8KxjCRFi+tBuA3Vb4ayB0FVqLH jseD4UlwKj1QLraIJDbbKk3WyLwWD0v9AQYMw/bbL0r6ya0THk Rp6ZOfBo7tF04UH7UOOxhjoIx5qFWGRbnp2lccNqFizKRgH0WQ pgOewG3EjlVm3NpdgjCqjULXUxzW8OVhcve2cavmIaGa6kXfw8 NL43f Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes. X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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 Tested-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/config.mk | 2 ++ 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