summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Dunn <mikedunn@newsguy.com>2013-06-21 09:12:27 -0700
committerMarek Vasut <marex@denx.de>2013-06-22 15:25:28 +0200
commit84c617beb2ddcda03e36abe553432e2784ada6b7 (patch)
treefb49ca50ec920cdf0c2477629d31a7944b7c9af9
parent097d86d098ce9c5c59501b4bffd2a3d3324166ef (diff)
downloadu-boot-imx-84c617beb2ddcda03e36abe553432e2784ada6b7.zip
u-boot-imx-84c617beb2ddcda03e36abe553432e2784ada6b7.tar.gz
u-boot-imx-84c617beb2ddcda03e36abe553432e2784ada6b7.tar.bz2
pxa: use -mcpu=xscale compiler option
Pass '-mcpu=xscale' to the compiler instead of march and mtune. This will cause gcc to define the __XSCALE__ macro. Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
-rw-r--r--arch/arm/cpu/pxa/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/pxa/config.mk b/arch/arm/cpu/pxa/config.mk
index 0bbe295..ea55859 100644
--- a/arch/arm/cpu/pxa/config.mk
+++ b/arch/arm/cpu/pxa/config.mk
@@ -24,7 +24,7 @@
PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
-PLATFORM_CPPFLAGS += -march=armv5te -mtune=xscale
+PLATFORM_CPPFLAGS += -mcpu=xscale
# =========================================================================
#
# Supply options according to compiler version