Skip to content
Snippets Groups Projects
Commit cca60769 authored by Allen Martin's avatar Allen Martin Committed by Albert ARIBAUD
Browse files

tegra20: Remove armv4t build flags


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.

Signed-off-by: default avatarAllen Martin <amartin@nvidia.com>
Acked-by: default avatarStephen Warren <swarren@wwwdotorg.org>
Tested-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
parent 660e98f2
No related branches found
No related tags found
No related merge requests found
...@@ -23,16 +23,4 @@ ...@@ -23,16 +23,4 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA # MA 02111-1307 USA
# #
# Tegra has an ARMv4T CPU which runs board_init_f(), so we must build these
# files with compatible flags
ifdef CONFIG_TEGRA20
CFLAGS_arch/arm/lib/board.o += -march=armv4t
CFLAGS_arch/arm/lib/memset.o += -march=armv4t
CFLAGS_lib/string.o += -march=armv4t
CFLAGS_common/cmd_nvedit.o += -march=armv4t
endif
USE_PRIVATE_LIBGCC = yes
CONFIG_ARCH_DEVICE_TREE := tegra20 CONFIG_ARCH_DEVICE_TREE := tegra20
...@@ -27,8 +27,6 @@ include $(TOPDIR)/config.mk ...@@ -27,8 +27,6 @@ include $(TOPDIR)/config.mk
# The AVP is ARMv4T architecture so we must use special compiler # The AVP is ARMv4T architecture so we must use special compiler
# flags for any startup files it might use. # flags for any startup files it might use.
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 CFLAGS_arch/arm/cpu/tegra20-common/warmboot_avp.o += -march=armv4t
LIB = $(obj)lib$(SOC)-common.o LIB = $(obj)lib$(SOC)-common.o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment