Skip to contentSkip to conversation

iProc PCIe driver Kconfig changes

PATCH Superseded Ray Jui 1 participant 3 messages Mar 25, 2015 PCI

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Ray Jui

author
#0 lore raw

cover iProc PCIe driver Kconfig changes

This patch series contains two patches to address iProc PCIe Kconfig related issues. The first patch adds more protection to PCIE_IPROC so it cannot be accidentally enabled for non-ARM based platforms. The second patch changes the config name of the iProc PCIe platform driver from PCIE_IPROC_PLTFM to PCIE_IPROC_PLATFORM

Ray Jui (2):
pci: iproc: fix PCIE_IPROC in Kconfig
pci: iproc: change PCIE_IPROC_PLTFM to PCIE_IPROC_PLATFORM

 drivers/pci/host/Kconfig  |    4 +++-
 drivers/pci/host/Makefile |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/2 pci: iproc: fix PCIE_IPROC in Kconfig

Make PCIE_IPROC depending on both OF and ARM and default to be disabled, so it cannot be accidentally enabled by other platforms

PCIE_IPROC is meant to be enabled by a front-end bus driver. Curenntly it's enabled by PCIE_IPROC_PLTFM driver

---
 drivers/pci/host/Kconfig |    2 ++
 1 file changed, 2 insertions(+)
drivers/pci/host/Kconfig +2 -0
index feccd0d..963b507 100644
@@ -108,6 +108,8 @@ config PCI_VERSATILE
 
 config PCIE_IPROC
 	tristate "Broadcom iProc PCIe controller"
+	depends on OF && ARM
+	default n
 	help
 	  This enables the iProc PCIe core controller support for Broadcom's
 	  iProc family of SoCs. An appropriate bus interface driver also needs
Signature · 1 line
1.7.9.5
author
#2 lore raw

PATCH 2/2 pci: iproc: change PCIE_IPROC_PLTFM to PCIE_IPROC_PLATFORM

In reply to Ray Jui

Change the config name of the iProc PCIe platform bus driver from PCIE_IPROC_PLTFM to PCIE_IPROC_PLATFORM

---
 drivers/pci/host/Kconfig  |    2 +-
 drivers/pci/host/Makefile |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/pci/host/Kconfig +1 -1
index 963b507..1dfb567 100644
@@ -115,7 +115,7 @@ config PCIE_IPROC
 	  iProc family of SoCs. An appropriate bus interface driver also needs
 	  to be enabled
 
-config PCIE_IPROC_PLTFM
+config PCIE_IPROC_PLATFORM
 	tristate "Broadcom iProc PCIe platform bus driver"
 	depends on ARCH_BCM_IPROC || (ARM && COMPILE_TEST)
 	depends on OF
drivers/pci/host/Makefile +1 -1
index 2e02d20..43e31d8 100644
@@ -14,4 +14,4 @@ obj-$(CONFIG_PCI_XGENE) += pci-xgene.o
 obj-$(CONFIG_PCI_LAYERSCAPE) += pci-layerscape.o
 obj-$(CONFIG_PCI_VERSATILE) += pci-versatile.o
 obj-$(CONFIG_PCIE_IPROC) += pcie-iproc.o
-obj-$(CONFIG_PCIE_IPROC_PLTFM) += pcie-iproc-pltfm.o
+obj-$(CONFIG_PCIE_IPROC_PLATFORM) += pcie-iproc-pltfm.o
Signature · 1 line
1.7.9.5