* [PATCH 0/2] iProc PCIe driver Kconfig changes
@ 2015-03-25 6:42 Ray Jui
2015-03-25 6:42 ` [PATCH 1/2] pci: iproc: fix PCIE_IPROC in Kconfig Ray Jui
2015-03-25 6:42 ` [PATCH 2/2] pci: iproc: change PCIE_IPROC_PLTFM to PCIE_IPROC_PLATFORM Ray Jui
0 siblings, 2 replies; 3+ messages in thread
From: Ray Jui @ 2015-03-25 6:42 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Scott Branden, linux-pci, linux-kernel, bcm-kernel-feedback-list,
Ray Jui
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(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] pci: iproc: fix PCIE_IPROC in Kconfig
2015-03-25 6:42 [PATCH 0/2] iProc PCIe driver Kconfig changes Ray Jui
@ 2015-03-25 6:42 ` Ray Jui
2015-03-25 6:42 ` [PATCH 2/2] pci: iproc: change PCIE_IPROC_PLTFM to PCIE_IPROC_PLATFORM Ray Jui
1 sibling, 0 replies; 3+ messages in thread
From: Ray Jui @ 2015-03-25 6:42 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Scott Branden, linux-pci, linux-kernel, bcm-kernel-feedback-list,
Ray Jui
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
Signed-off-by: Ray Jui <rjui@broadcom.com>
---
drivers/pci/host/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
index feccd0d..963b507 100644
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
@@ -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
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] pci: iproc: change PCIE_IPROC_PLTFM to PCIE_IPROC_PLATFORM
2015-03-25 6:42 [PATCH 0/2] iProc PCIe driver Kconfig changes Ray Jui
2015-03-25 6:42 ` [PATCH 1/2] pci: iproc: fix PCIE_IPROC in Kconfig Ray Jui
@ 2015-03-25 6:42 ` Ray Jui
1 sibling, 0 replies; 3+ messages in thread
From: Ray Jui @ 2015-03-25 6:42 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Scott Branden, linux-pci, linux-kernel, bcm-kernel-feedback-list,
Ray Jui
Change the config name of the iProc PCIe platform bus driver from
PCIE_IPROC_PLTFM to PCIE_IPROC_PLATFORM
Signed-off-by: Ray Jui <rjui@broadcom.com>
---
drivers/pci/host/Kconfig | 2 +-
drivers/pci/host/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
index 963b507..1dfb567 100644
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
@@ -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
diff --git a/drivers/pci/host/Makefile b/drivers/pci/host/Makefile
index 2e02d20..43e31d8 100644
--- a/drivers/pci/host/Makefile
+++ b/drivers/pci/host/Makefile
@@ -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
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-25 6:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 6:42 [PATCH 0/2] iProc PCIe driver Kconfig changes Ray Jui
2015-03-25 6:42 ` [PATCH 1/2] pci: iproc: fix PCIE_IPROC in Kconfig Ray Jui
2015-03-25 6:42 ` [PATCH 2/2] pci: iproc: change PCIE_IPROC_PLTFM to PCIE_IPROC_PLATFORM Ray Jui
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.