[PATCH] ARM: vexpress: select ARM_ERRATA_753970 only when L2 is on

From: mathieu . poirier
Date: Thu Mar 08 2012 - 20:55:05 EST


From: Arnd Bergmann <arnd@xxxxxxxx>

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@xxxxxxxx>
Signed-off-by: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
---
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

--
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/