[PATCH] PCI: cadence: Fix TI J721E PCIe SoC dependencies
Peter Robinson
pbrobinson at gmail.com
Wed Dec 20 03:32:08 PST 2023
The J721E PCIe is hardware specific to the TI SoC parts
so add a depenency on that so it's available for those
SoC parts and for compile testing but not necessarily
everyone who enables the Cadence PCIe controller.
Signed-off-by: Peter Robinson <pbrobinson at gmail.com>
---
drivers/pci/controller/cadence/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pci/controller/cadence/Kconfig b/drivers/pci/controller/cadence/Kconfig
index 291d12711363..1d5a70c9055e 100644
--- a/drivers/pci/controller/cadence/Kconfig
+++ b/drivers/pci/controller/cadence/Kconfig
@@ -47,6 +47,7 @@ config PCI_J721E
config PCI_J721E_HOST
bool "TI J721E PCIe controller (host mode)"
+ depends on ARCH_K3 || COMPILE_TEST
depends on OF
select PCIE_CADENCE_HOST
select PCI_J721E
@@ -57,6 +58,7 @@ config PCI_J721E_HOST
config PCI_J721E_EP
bool "TI J721E PCIe controller (endpoint mode)"
+ depends on ARCH_K3 || COMPILE_TEST
depends on OF
depends on PCI_ENDPOINT
select PCIE_CADENCE_EP
--
2.43.0
More information about the linux-arm-kernel
mailing list