From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 22 Jun 2013 04:29:40 +0200 Subject: [U-Boot] [PATCH 1/2] pxa: use -mcpu=xscale compiler option In-Reply-To: <1371831148-22380-2-git-send-email-mikedunn@newsguy.com> References: <1371831148-22380-1-git-send-email-mikedunn@newsguy.com> <1371831148-22380-2-git-send-email-mikedunn@newsguy.com> Message-ID: <201306220429.40305.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Dunn, > 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 > --- > arch/arm/cpu/pxa/config.mk | 2 +- > 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 Acked-by: Marek Vasut Best regards, Marek Vasut