From patchwork Fri May 25 09:04:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Brodkin X-Patchwork-Id: 920329 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40sgKy0ZzRz9s08 for ; Fri, 25 May 2018 19:04:21 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id B634DC21DFB; Fri, 25 May 2018 09:04:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A71EAC21C27; Fri, 25 May 2018 09:04:11 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 90FA3C21C2C; Fri, 25 May 2018 09:04:10 +0000 (UTC) Received: from smtprelay.synopsys.com (us01smtprelay-2.synopsys.com [198.182.47.9]) by lists.denx.de (Postfix) with ESMTPS id 4FFB3C21BE5 for ; Fri, 25 May 2018 09:04:09 +0000 (UTC) Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 33E1724E032A; Fri, 25 May 2018 02:04:06 -0700 (PDT) Received: from abrodkin-7480l.internal.synopsys.com (abrodkin-7480l.internal.synopsys.com [10.121.8.87]) by mailhost.synopsys.com (Postfix) with ESMTP id 2CC8B3B54; Fri, 25 May 2018 02:04:04 -0700 (PDT) From: Alexey Brodkin To: u-boot@lists.denx.de Date: Fri, 25 May 2018 12:04:01 +0300 Message-Id: <20180525090401.10496-1-abrodkin@synopsys.com> X-Mailer: git-send-email 2.17.0 Cc: Tom Rini , Alexey Brodkin , uboot-snps-arc@synopsys.com Subject: [U-Boot] [PATCH] arm: Use mtune for Xscale X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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) =