From patchwork Fri Mar 9 01:54:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 7182 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 21A4523E80 for ; Fri, 9 Mar 2012 01:55:06 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id D5A24A186AD for ; Fri, 9 Mar 2012 01:55:05 +0000 (UTC) Received: by iage36 with SMTP id e36so2074454iag.11 for ; Thu, 08 Mar 2012 17:55:05 -0800 (PST) Received: by 10.50.183.137 with SMTP id em9mr12182394igc.58.1331258105327; Thu, 08 Mar 2012 17:55:05 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.53.18 with SMTP id k18csp22704ibg; Thu, 8 Mar 2012 17:55:04 -0800 (PST) Received: by 10.50.222.196 with SMTP id qo4mr484135igc.59.1331258104402; Thu, 08 Mar 2012 17:55:04 -0800 (PST) Received: from mail-iy0-f178.google.com (mail-iy0-f178.google.com [209.85.210.178]) by mx.google.com with ESMTPS id us2si436859igc.47.2012.03.08.17.55.04 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Mar 2012 17:55:04 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.178 is neither permitted nor denied by best guess record for domain of mathieu.poirier@linaro.org) client-ip=209.85.210.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.178 is neither permitted nor denied by best guess record for domain of mathieu.poirier@linaro.org) smtp.mail=mathieu.poirier@linaro.org Received: by iakl21 with SMTP id l21so1916794iak.37 for ; Thu, 08 Mar 2012 17:55:04 -0800 (PST) Received: by 10.50.149.195 with SMTP id uc3mr40700igb.29.1331258104154; Thu, 08 Mar 2012 17:55:04 -0800 (PST) Received: from localhost.localdomain (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPS id vr4sm1226709igb.1.2012.03.08.17.55.03 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Mar 2012 17:55:03 -0800 (PST) From: mathieu.poirier@linaro.org To: linux@arm.linux.org.uk Cc: arnd@arndb.de, patches@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: vexpress: select ARM_ERRATA_753970 only when L2 is on Date: Thu, 8 Mar 2012 18:54:58 -0700 Message-Id: <1331258098-31733-1-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.7.5.4 X-Gm-Message-State: ALoCoQkyRkQ+S0LIeAyYzAa1ygyikwXEbQmO3osoHoYhpdvcEQNvVtGVffnApNdUUCT64SsGHOxG From: Arnd Bergmann Kconfig warns about unresolved dependencies in select statements, and ARM_ERRATA_753970 rightfully depends on CACHE_PL310. Selecting it only when the cache is enabled gets rid of the warning with no functional change. Signed-off-by: Arnd Bergmann Signed-off-by: Mathieu Poirier --- arch/arm/mach-vexpress/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig index 88c3ba1..0683a15 100644 --- a/arch/arm/mach-vexpress/Kconfig +++ b/arch/arm/mach-vexpress/Kconfig @@ -7,7 +7,7 @@ config ARCH_VEXPRESS_CA9X4 select ARM_GIC select ARM_ERRATA_720789 select ARM_ERRATA_751472 - select PL310_ERRATA_753970 + select PL310_ERRATA_753970 if CACHE_PL310 select HAVE_SMP select MIGHT_HAVE_CACHE_L2X0