arm64: Kconfig: select HISILICON_IRQ_MBIGEN only if PCI is selected
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 3 Aug 2016 14:29:34 +0000 (15:29 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 10 Aug 2016 20:58:12 +0000 (22:58 +0200)
Even when PCI is disabled, ARCH_HISI selects HISILICON_IRQ_MBIGEN
triggerring the following config warning:

warning: (ARM64 && HISILICON_IRQ_MBIGEN) selects ARM_GIC_V3_ITS which
has unmet direct dependencies (PCI && PCI_MSI)

This patch makes selection of HISILICON_IRQ_MBIGEN conditional on PCI.

Cc: Ma Jun <majun258@huawei.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/Kconfig.platforms

index fd3ee3a392bee037603bc7ba5e54782f74a17649..be5d824ebdba2dab24840bb7808abcc40da2053e 100644 (file)
@@ -66,7 +66,7 @@ config ARCH_LG1K
 config ARCH_HISI
        bool "Hisilicon SoC Family"
        select ARM_TIMER_SP804
-       select HISILICON_IRQ_MBIGEN
+       select HISILICON_IRQ_MBIGEN if PCI
        help
          This enables support for Hisilicon ARMv8 SoC family