]> git.baikalelectronics.ru Git - kernel.git/commit
bus/arm-cci: add dependency on OF && CPU_V7
authorArnd Bergmann <arnd@arndb.de>
Sat, 15 Mar 2014 19:32:00 +0000 (20:32 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 17 Jun 2014 15:09:35 +0000 (17:09 +0200)
commit7cdf6f672df4284a9dad9f7c6afb866983420a8c
tree8869044fb6acdc65dc14478fe883b5afb30aabcc
parentad83d39b03a7db66836999ecdbb0ffe7d1e62734
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>
drivers/bus/Kconfig