[PATCH] PCI: dwc: PCIE_AMD_MDB should depend on ARM64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The AMD MDB Versal2 PCIe controller is only present on AMD Versal2
ARM64-based SoCs.  Hence add a dependency on ARM64, to prevent asking
the user about this driver when configuring a kernel for a different
architecture than ARM64.

Fixes: e229f853f5b277a5 ("PCI: amd-mdb: Add AMD MDB Root Port driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
To be replaced by ARCH_VERSAL, if/when it ever appears for real.
---
 drivers/pci/controller/dwc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
index 39b1a89cb6b7ee80..48f1e3c7825b55e0 100644
--- a/drivers/pci/controller/dwc/Kconfig
+++ b/drivers/pci/controller/dwc/Kconfig
@@ -39,6 +39,7 @@ config PCIE_AL
 
 config PCIE_AMD_MDB
 	bool "AMD MDB Versal2 PCIe controller"
+	depends on ARM64 || COMPILE_TEST
 	depends on OF || COMPILE_TEST
 	depends on PCI_MSI
 	select PCIE_DW_HOST
-- 
2.43.0





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux