From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 9/9] tegra2: Remove USE_PRIVATE_LIBGCC and armv4t build flags
Date: Mon, 14 May 2012 23:11:26 -0600 [thread overview]
Message-ID: <4FB1E57E.4090308@wwwdotorg.org> (raw)
In-Reply-To: <1336633347-8049-10-git-send-email-amartin@nvidia.com>
On 05/10/2012 01:02 AM, Allen Martin wrote:
> These flags were necessary when building tegra2 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/armv7/tegra2/config.mk b/arch/arm/cpu/armv7/tegra2/config.mk
> -# Tegra has an ARMv4T CPU which runs board_init_f(), so we must build this
> -# file with compatible flags
> -ifdef CONFIG_TEGRA2
> -CFLAGS_arch/arm/lib/board.o += -march=armv4t
> -endif
That makes sense since the CFLAGS for the SPL build will be set up
appropriately for the AVP.
> -USE_PRIVATE_LIBGCC = yes
However, we force this because the toolchains we typically use for
U-Boot are targeted at the A9 CPUs, and hence the libgcc there contains
ARMv7 instructions. Did I miss something in this series or earlier that
uses a different toolchain for the SPL, which includes an ARMv4 build of
libgcc?
next prev parent reply other threads:[~2012-05-15 5:11 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-10 7:02 [U-Boot] [PATCH 0/9] split tegra arm7 code into separate SPL Allen Martin
2012-05-10 7:02 ` [U-Boot] [PATCH 1/9] tegra2: move tegra2 SoC code to arch/arm/cpu/tegra2-common Allen Martin
2012-05-10 7:02 ` [U-Boot] [PATCH 2/9] mkconfig: add support for SPL CPU Allen Martin
2012-05-10 7:02 ` [U-Boot] [PATCH 3/9] ARM: Fix arm720t SPL build Allen Martin
2012-05-10 7:02 ` [U-Boot] [PATCH 4/9] tegra: Add SPL build support to tegra boards Allen Martin
2012-05-15 4:55 ` Stephen Warren
2012-05-18 22:42 ` Allen Martin
2012-05-10 7:02 ` [U-Boot] [PATCH 5/9] ARM: add tegra support to arm720t Allen Martin
2012-05-15 5:03 ` Stephen Warren
2012-05-18 22:37 ` Allen Martin
2012-05-22 17:10 ` Stephen Warren
2012-05-22 19:14 ` Allen Martin
2012-05-10 7:02 ` [U-Boot] [PATCH 6/9] tegra: enable SPL build for seaboard Allen Martin
2012-05-15 5:06 ` Stephen Warren
2012-05-18 22:24 ` Allen Martin
2012-05-22 17:07 ` Stephen Warren
2012-05-22 19:02 ` Allen Martin
2012-05-10 7:02 ` [U-Boot] [PATCH 7/9] tegra: add u-boot.t2 target Allen Martin
2012-05-15 5:08 ` Stephen Warren
2012-05-18 22:14 ` Allen Martin
2012-05-10 7:02 ` [U-Boot] [PATCH 8/9] tegra2: Remove CPU init code from tegra2 u-boot Allen Martin
2012-05-10 7:02 ` [U-Boot] [PATCH 9/9] tegra2: Remove USE_PRIVATE_LIBGCC and armv4t build flags Allen Martin
2012-05-15 5:11 ` Stephen Warren [this message]
2012-05-18 22:13 ` Allen Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FB1E57E.4090308@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.