summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/Makefile
diff options
context:
space:
mode:
authorTom Joseph <tjoseph@cadence.com>2019-11-11 12:30:43 +0000
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2019-11-11 14:56:54 +0000
commitbd22885aa188f135fd98382febfec650601ec998 (patch)
treece5c36afe6057a51db3a9d18fe8a5eac86a7cf1f /drivers/pci/controller/Makefile
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff)
downloadlinux-stable-bd22885aa188f135fd98382febfec650601ec998.tar.gz
linux-stable-bd22885aa188f135fd98382febfec650601ec998.tar.bz2
linux-stable-bd22885aa188f135fd98382febfec650601ec998.zip
PCI: cadence: Refactor driver to use as a core library
Cadence PCIe host and endpoint IP may be embedded into a variety of SoCs/platforms. Let's extract the platform related APIs/Structures in the current driver to a separate file (pcie-cadence-plat.c), such that the common functionality can be used by future platforms. Signed-off-by: Tom Joseph <tjoseph@cadence.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Diffstat (limited to 'drivers/pci/controller/Makefile')
-rw-r--r--drivers/pci/controller/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/controller/Makefile b/drivers/pci/controller/Makefile
index a2a22c9d91af..42a6363d38f1 100644
--- a/drivers/pci/controller/Makefile
+++ b/drivers/pci/controller/Makefile
@@ -2,6 +2,7 @@
obj-$(CONFIG_PCIE_CADENCE) += pcie-cadence.o
obj-$(CONFIG_PCIE_CADENCE_HOST) += pcie-cadence-host.o
obj-$(CONFIG_PCIE_CADENCE_EP) += pcie-cadence-ep.o
+obj-$(CONFIG_PCIE_CADENCE_PLAT) += pcie-cadence-plat.o
obj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o
obj-$(CONFIG_PCI_HYPERV) += pci-hyperv.o
obj-$(CONFIG_PCI_HYPERV_INTERFACE) += pci-hyperv-intf.o