Commit 021a90fe authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Lorenzo Pieralisi
Browse files

PCI: mobiveil: Improve PCIE_LAYERSCAPE_GEN4 dependencies

  - Drop the dependency on PCI, as this is implied by the dependency on
    PCI_MSI_IRQ_DOMAIN,
  - Drop the dependencies on OF and ARM64, as the driver compiles fine
    without OF and/or on other architectures,
  - The Freescale Layerscape PCIe Gen4 controller is present only on
    Freescale Layerscape SoCs.  Hence depend on ARCH_LAYERSCAPE, to
    prevent asking the user about this driver when configuring a kernel
    without Freescale Layerscape support, unless compile-testing.

Link: https://lore.kernel.org/r/20210208142301.413582-1-geert+renesas@glider.be


Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
parent a38fd874
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -24,8 +24,7 @@ config PCIE_MOBIVEIL_PLAT

config PCIE_LAYERSCAPE_GEN4
	bool "Freescale Layerscape PCIe Gen4 controller"
	depends on PCI
	depends on OF && (ARM64 || ARCH_LAYERSCAPE)
	depends on ARCH_LAYERSCAPE || COMPILE_TEST
	depends on PCI_MSI_IRQ_DOMAIN
	select PCIE_MOBIVEIL_HOST
	help