Message ID | eaef1dea7edcf146aa377d5e5c5c85a76ff56bae.1742306383.git.geert+renesas@glider.be (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Bjorn Helgaas |
Headers | show |
Series | PCI: dwc: PCIE_AMD_MDB should depend on ARM64 | expand |
On Tue, Mar 18, 2025 at 03:00:54PM +0100, Geert Uytterhoeven wrote: > 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@glider.be> Squashed into e229f853f5b277a5, thanks, Geert! > --- > 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 >
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
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@glider.be> --- To be replaced by ARCH_VERSAL, if/when it ever appears for real. --- drivers/pci/controller/dwc/Kconfig | 1 + 1 file changed, 1 insertion(+)