ARM: kconfig: allow PCI support to be selected with ARCH_MULTIPLATFORM
authorWill Deacon <will.deacon@arm.com>
Tue, 27 May 2014 22:26:35 +0000 (23:26 +0100)
committerOlof Johansson <olof@lixom.net>
Thu, 29 May 2014 19:42:38 +0000 (12:42 -0700)
When targetting ARCH_MULTIPLATFORM, we may include support for SoCs with
PCI-capable devices (e.g. mach-virt with virtio-pci).

This patch allows PCI support to be selected for these SoCs by selecting
CONFIG_MIGHT_HAVE_PCI when CONFIG_ARCH_MULTIPLATFORM=y and removes the
individual selections from multi-platform enabled SoCs.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/Kconfig
arch/arm/mach-bcm/Kconfig
arch/arm/mach-cns3xxx/Kconfig
arch/arm/mach-imx/Kconfig
arch/arm/mach-mvebu/Kconfig
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-tegra/Kconfig

index db3c5414223e7298346c6338665263d5f51c0e3c..860bea828ac4dfd6df24dfb71759be4b482afa90 100644 (file)
@@ -314,6 +314,7 @@ config ARCH_MULTIPLATFORM
        select CLKSRC_OF
        select COMMON_CLK
        select GENERIC_CLOCKEVENTS
+       select MIGHT_HAVE_PCI
        select MULTI_IRQ_HANDLER
        select SPARSE_IRQ
        select USE_OF
index b8cc9e8992f1ba23ccc0c8bc106db7746bc9b5fd..2113d92c668a32b195105aa78883cee75c3f75ed 100644 (file)
@@ -77,7 +77,6 @@ config ARCH_BCM_5301X
        select HAVE_ARM_TWD if SMP
        select ARM_GLOBAL_TIMER
        select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
-       select MIGHT_HAVE_PCI
        help
          Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.
 
index dce8decd5d46a387afa7f5da6bb9fdfc727733e1..66838f42037f09ca4a5788811abee4ff042f3d94 100644 (file)
@@ -1,7 +1,6 @@
 config ARCH_CNS3XXX
        bool "Cavium Networks CNS3XXX family" if ARCH_MULTI_V6
        select ARM_GIC
-       select MIGHT_HAVE_PCI
        select PCI_DOMAINS if PCI
        help
          Support for Cavium Networks CNS3XXX platform.
index 5740296dc4299090c2875b3e22dd81419d069a50..50bb546b893a2768f33b17a6f6a229064a67f413 100644 (file)
@@ -796,7 +796,6 @@ config SOC_IMX6Q
        select ARM_ERRATA_764369 if SMP
        select HAVE_ARM_SCU if SMP
        select HAVE_ARM_TWD if SMP
-       select MIGHT_HAVE_PCI
        select PCI_DOMAINS if PCI
        select PINCTRL_IMX6Q
        select SOC_IMX6
index bfc5af18e4839acf13cf4fd88030bfbb378b1215..2052a90d9981d5bfd68a7b03d9914089daac3482 100644 (file)
@@ -8,7 +8,6 @@ config ARCH_MVEBU
        select MVEBU_MBUS
        select ZONE_DMA if ARM_LPAE
        select ARCH_REQUIRE_GPIOLIB
-       select MIGHT_HAVE_PCI
        select PCI_QUIRKS if PCI
 
 if ARCH_MVEBU
index edb1a914deb37b486b73fa37ef6cff8f09d9756d..62eaa42cb13a68a9a0a668036e4e76a2d015b80e 100644 (file)
@@ -8,7 +8,6 @@ config ARCH_SHMOBILE_MULTI
        select HAVE_ARM_SCU if SMP
        select HAVE_ARM_TWD if SMP
        select ARM_GIC
-       select MIGHT_HAVE_PCI
        select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
        select NO_IOPORT_MAP
        select PINCTRL
index 55b305d51669c576d7b85f6d9fa07f45739ab644..e16999e5b735fa3d89b17b0ca882d78156771e50 100644 (file)
@@ -7,7 +7,6 @@ config ARCH_TEGRA
        select CLKSRC_MMIO
        select HAVE_ARM_SCU if SMP
        select HAVE_ARM_TWD if SMP
-       select MIGHT_HAVE_PCI
        select PINCTRL
        select ARCH_HAS_RESET_CONTROLLER
        select RESET_CONTROLLER