From: Arnd Bergmann Date: Sat, 15 Mar 2014 19:32:00 +0000 (+0100) Subject: bus/arm-cci: add dependency on OF && CPU_V7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=30b6f37df665be71c90cfe29de03333a42228ae7;p=linux-beck.git bus/arm-cci: add dependency on OF && CPU_V7 The arm-cci code uses device tree helpers for initialization that don't work on kernels built without CONFIG_OF. Further, it contains an inline assembly in cci_enable_port_for_self() that uses ARMv7 instructions and fails to build when targetting other ARM instruction set versions. This works around both issues by limiting the scope of the Kconfig symbol to platforms that can actually build this driver cleanly. Signed-off-by: Arnd Bergmann Acked-by: Lorenzo Pieralisi Cc: Shawn Guo --- diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index a118ec1650fa..1f37d9870e7a 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -45,7 +45,7 @@ config OMAP_INTERCONNECT config ARM_CCI bool "ARM CCI driver support" - depends on ARM + depends on ARM && OF && CPU_V7 help Driver supporting the CCI cache coherent interconnect for ARM platforms.