diff mbox

ARM: vexpress: select ARM_ERRATA_753970 only when L2 is on

Message ID 1331258098-31733-1-git-send-email-mathieu.poirier@linaro.org
State New
Headers show

Commit Message

Mathieu Poirier March 9, 2012, 1:54 a.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

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 <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
---
 arch/arm/mach-vexpress/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

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