Commit e13688fe authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I Committed by Arnd Bergmann

ARM: select PCI_DOMAINS config from ARCH_MULTIPLATFORM

PCI_DOMAINS config should be selected for any SoCs
having more than a single PCIe controller. Without PCI_DOMAINS
config, only one PCIe controller gets registered.

Select PCI_DOMAINS in ARCH_MULTIPLATFORM if PCI is selected, since
it doesn't harm even if a platform has a single PCIe port.
Also remove PCI_DOMAINS being selected from other platform
specific configs.
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Acked-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 6016b23b
...@@ -336,6 +336,7 @@ config ARCH_MULTIPLATFORM ...@@ -336,6 +336,7 @@ config ARCH_MULTIPLATFORM
select GENERIC_CLOCKEVENTS select GENERIC_CLOCKEVENTS
select MIGHT_HAVE_PCI select MIGHT_HAVE_PCI
select MULTI_IRQ_HANDLER select MULTI_IRQ_HANDLER
select PCI_DOMAINS if PCI
select SPARSE_IRQ select SPARSE_IRQ
select USE_OF select USE_OF
......
...@@ -7,7 +7,6 @@ config ARCH_AXXIA ...@@ -7,7 +7,6 @@ config ARCH_AXXIA
select ARM_TIMER_SP804 select ARM_TIMER_SP804
select HAVE_ARM_ARCH_TIMER select HAVE_ARM_ARCH_TIMER
select MFD_SYSCON select MFD_SYSCON
select PCI_DOMAINS if PCI
select ZONE_DMA select ZONE_DMA
help help
This enables support for the LSI Axxia devices. This enables support for the LSI Axxia devices.
......
...@@ -2,7 +2,6 @@ menuconfig ARCH_CNS3XXX ...@@ -2,7 +2,6 @@ menuconfig ARCH_CNS3XXX
bool "Cavium Networks CNS3XXX family" bool "Cavium Networks CNS3XXX family"
depends on ARCH_MULTI_V6 depends on ARCH_MULTI_V6
select ARM_GIC select ARM_GIC
select PCI_DOMAINS if PCI
help help
Support for Cavium Networks CNS3XXX platform. Support for Cavium Networks CNS3XXX platform.
......
...@@ -126,7 +126,6 @@ config SOC_EXYNOS5440 ...@@ -126,7 +126,6 @@ config SOC_EXYNOS5440
select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
select HAVE_ARM_ARCH_TIMER select HAVE_ARM_ARCH_TIMER
select AUTO_ZRELADDR select AUTO_ZRELADDR
select PCI_DOMAINS if PCI
select PINCTRL_EXYNOS5440 select PINCTRL_EXYNOS5440
select PM_OPP select PM_OPP
help help
......
...@@ -498,7 +498,6 @@ config SOC_IMX6Q ...@@ -498,7 +498,6 @@ config SOC_IMX6Q
select ARM_ERRATA_764369 if SMP select ARM_ERRATA_764369 if SMP
select HAVE_ARM_SCU if SMP select HAVE_ARM_SCU if SMP
select HAVE_ARM_TWD select HAVE_ARM_TWD
select PCI_DOMAINS if PCI
select PINCTRL_IMX6Q select PINCTRL_IMX6Q
select SOC_IMX6 select SOC_IMX6
...@@ -544,7 +543,6 @@ config SOC_LS1021A ...@@ -544,7 +543,6 @@ config SOC_LS1021A
bool "Freescale LS1021A support" bool "Freescale LS1021A support"
select ARM_GIC select ARM_GIC
select HAVE_ARM_ARCH_TIMER select HAVE_ARM_ARCH_TIMER
select PCI_DOMAINS if PCI
select ZONE_DMA if ARM_LPAE select ZONE_DMA if ARM_LPAE
help help
This enables support for Freescale LS1021A processor. This enables support for Freescale LS1021A processor.
......
...@@ -8,7 +8,6 @@ config ARCH_KEYSTONE ...@@ -8,7 +8,6 @@ config ARCH_KEYSTONE
select COMMON_CLK_KEYSTONE select COMMON_CLK_KEYSTONE
select ARCH_SUPPORTS_BIG_ENDIAN select ARCH_SUPPORTS_BIG_ENDIAN
select ZONE_DMA if ARM_LPAE select ZONE_DMA if ARM_LPAE
select PCI_DOMAINS if PCI
select PINCTRL select PINCTRL
help help
Support for boards based on the Texas Instruments Keystone family of Support for boards based on the Texas Instruments Keystone family of
......
...@@ -22,7 +22,6 @@ config ARCH_RCAR_GEN2 ...@@ -22,7 +22,6 @@ config ARCH_RCAR_GEN2
select PM_GENERIC_DOMAINS select PM_GENERIC_DOMAINS
select RENESAS_IRQC select RENESAS_IRQC
select SYS_SUPPORTS_SH_CMT select SYS_SUPPORTS_SH_CMT
select PCI_DOMAINS if PCI
config ARCH_RMOBILE config ARCH_RMOBILE
bool bool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment