From: Alexey Brodkin Date: Fri, 25 May 2018 12:04:01 +0300 Subject: [U-Boot] [PATCH] arm: Use mtune for Xscale Message-ID: <20180525090401.10496-1-abrodkin@synopsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Otherwise with GCC 8 we see this warning [which is rendered to an error with -Werror, which happens for buildman/travisci], see [1]: ------------------------------->8------------------------------- cc1: warning: switch -mcpu=xscale conflicts with -march=armv5te switch ------------------------------->8------------------------------- Interesting enough with GCC 7.3.0 (which is current default in buildman) that change leads to another failure, see [2]: ------------------------------->8------------------------------- Error: selected processor does not support `pld [lr]' in ARM mode ------------------------------->8------------------------------- So I guess this change might be put in series with buildman toolchain bump. [1] https://travis-ci.org/abrodkin/u-boot/jobs/383219348 [2] https://travis-ci.org/abrodkin/u-boot/jobs/383594006 Signed-off-by: Alexey Brodkin Cc: Albert Aribaud --- arch/arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 680c6e8516dc..18e0193c43c0 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -37,7 +37,7 @@ tune-$(CONFIG_CPU_ARM920T) = tune-$(CONFIG_CPU_ARM926EJS) = tune-$(CONFIG_CPU_ARM946ES) = tune-$(CONFIG_CPU_SA1100) =-mtune=strongarm1100 -tune-$(CONFIG_CPU_PXA) =-mcpu=xscale +tune-$(CONFIG_CPU_PXA) =-mtune=xscale tune-$(CONFIG_CPU_ARM1136) = tune-$(CONFIG_CPU_ARM1176) = tune-$(CONFIG_CPU_V7A) = -- 2.17.0