lkml.org 
[lkml]   [2014]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] bus/arm-cci: add dependency on OF && CPU_V7
    Date
    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>
    Cc: Shawn Guo <shawn.guo@linaro.org>
    Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    ---
    drivers/bus/Kconfig | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
    index 552373c..d53417e 100644
    --- a/drivers/bus/Kconfig
    +++ b/drivers/bus/Kconfig
    @@ -37,7 +37,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.
    --
    1.8.3.2


    \
     
     \ /
      Last update: 2014-05-08 18:41    [W:2.735 / U:0.276 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site