diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-03-15 20:32:00 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-06-17 17:09:35 +0200 |
commit | 30b6f37df665be71c90cfe29de03333a42228ae7 (patch) | |
tree | 8869044fb6acdc65dc14478fe883b5afb30aabcc /drivers/bus | |
parent | 13ee8955473152e1194951ccdf813b29f9407455 (diff) | |
download | op-kernel-dev-30b6f37df665be71c90cfe29de03333a42228ae7.zip op-kernel-dev-30b6f37df665be71c90cfe29de03333a42228ae7.tar.gz |
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 <arnd@arndb.de>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'drivers/bus')
-rw-r--r-- | drivers/bus/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index a118ec1..1f37d98 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. |