aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Mason <jonmason@broadcom.com>2017-03-01 10:53:13 -0500
committerBjorn Helgaas <bhelgaas@google.com>2017-03-16 16:15:09 -0400
commite584b06c4730f1b6d9ccb47fc8b7d79411eb9012 (patch)
tree1ffa070d31f25ef199fc8e0b2bc8912c1b1ee786
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff)
PCI: iproc: Add PCI_DOMAIN dependency to PCI Kconfig
2+ PCI devices fail to be discovered due to each bus having the same PCI domain. This is because the domain defined in the device tree file is not being added due to PCI_DOMAIN not being enabled. So, every PCI bus has a domain of zero. When PCI_DOMAIN is selected by the Kconfig, it picks up the domain defined in the device tree file and everything works as expected. Since both PCIE_IPROC_PLATFORM and PCIE_IPROC_BCMA need PCI_DOMAIN, move it to PCIE_IPROC so it will be automatically selected for both. Signed-off-by: Jon Mason <jonmason@broadcom.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--drivers/pci/host/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
index f7c1d4d5c665..a35d4588cfb3 100644
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
@@ -95,6 +95,7 @@ config PCI_VERSATILE
95 95
96config PCIE_IPROC 96config PCIE_IPROC
97 tristate 97 tristate
98 select PCI_DOMAINS
98 help 99 help
99 This enables the iProc PCIe core controller support for Broadcom's 100 This enables the iProc PCIe core controller support for Broadcom's
100 iProc family of SoCs. An appropriate bus interface driver needs 101 iProc family of SoCs. An appropriate bus interface driver needs
@@ -115,7 +116,6 @@ config PCIE_IPROC_BCMA
115 depends on ARM && (ARCH_BCM_IPROC || COMPILE_TEST) 116 depends on ARM && (ARCH_BCM_IPROC || COMPILE_TEST)
116 select PCIE_IPROC 117 select PCIE_IPROC
117 select BCMA 118 select BCMA
118 select PCI_DOMAINS
119 default ARCH_BCM_5301X 119 default ARCH_BCM_5301X
120 help 120 help
121 Say Y here if you want to use the Broadcom iProc PCIe controller 121 Say Y here if you want to use the Broadcom iProc PCIe controller