summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/Kconfig
diff options
context:
space:
mode:
authorRichard Zhu <hongxing.zhu@nxp.com>2020-05-14 17:04:18 +0800
committerRichard Zhu <hongxing.zhu@nxp.com>2020-06-11 10:06:33 +0800
commit112ade807b909b5bb44dd16eca0313a2085b4c0c (patch)
treeaecf6d7623c65adad6eb53967967ff4396355277 /drivers/pci/controller/dwc/Kconfig
parentaba962ef8b93c537d9ca1c0d862050d806ba756c (diff)
MLK-24012-12 pci: imx: add the imx8qxp ep support
Add the PCIe EP mode on iMX8QXP, and verify EP mode on iMX8QXP MEK board Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com> Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Diffstat (limited to 'drivers/pci/controller/dwc/Kconfig')
-rw-r--r--drivers/pci/controller/dwc/Kconfig30
1 files changed, 17 insertions, 13 deletions
diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
index dd24e6b8ce23..ba98d80865df 100644
--- a/drivers/pci/controller/dwc/Kconfig
+++ b/drivers/pci/controller/dwc/Kconfig
@@ -89,31 +89,35 @@ config PCI_EXYNOS
select PCIE_DW_HOST
config PCI_IMX6
- bool "Freescale i.MX6/7/8 PCIe controller"
+ bool
+
+config PCI_IMX6_HOST
+ bool "Freescale i.MX6/7/8 PCIe controller host mode"
depends on ARCH_MXC || COMPILE_TEST
depends on PCI_MSI_IRQ_DOMAIN
select PCIE_DW_HOST
+ select PCI_IMX6
+ help
+ Enables support for the PCIe controller host mode in the
+ iMX6/7/8 SoCs to work in endpoint mode.
config PCI_IMX6_COMPLIANCE_TEST
bool "Enable pcie compliance tests on imx6"
- depends on PCI_IMX6
+ depends on PCI_IMX6_HOST
default n
help
Say Y here if you want do the compliance tests on imx6 pcie rc found
on FSL iMX SoCs.
-config EP_MODE_IN_EP_RC_SYS
- bool "PCI Express EP mode in the IMX6 RC/EP interconnection system"
- depends on PCI_IMX6
-
-config RC_MODE_IN_EP_RC_SYS
- bool "PCI Express RC mode in the IMX6 RC/EP interconnection system"
- depends on PCI_IMX6 && EP_MODE_IN_EP_RC_SYS!=y
-
config PCI_IMX6_EP
- bool "i.MX6 PCI Express EP skeleton driver"
- depends on RC_MODE_IN_EP_RC_SYS
- default y
+ bool "Freescale i.MX6/7/8 PCIe controller endpoint mode"
+ depends on ARCH_MXC || COMPILE_TEST
+ depends on PCI_ENDPOINT
+ select PCIE_DW_EP
+ select PCI_IMX6
+ help
+ Enables support for the PCIe controller endpoint mode in the
+ iMX6/7/8 SoCs to work in endpoint mode.
config PCIE_SPEAR13XX
bool "STMicroelectronics SPEAr PCIe controller"