Skip to content

Commit

Permalink
bus/arm-cci: add dependency on OF && CPU_V7
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann committed Jun 17, 2014
1 parent 13ee895 commit 30b6f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/bus/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 30b6f37

Please sign in to comment.