PCI: mobiveil: Improve PCIE_LAYERSCAPE_GEN4 dependencies
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 8 Feb 2021 14:23:01 +0000 (15:23 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 23 Mar 2021 10:29:24 +0000 (10:29 +0000)
commit021a90fe60ea08262ad01f9c9d0514d63462b4a7
treefd8e95bc05a92d5a0dfb4cf45a192f7bcff1475f
parenta38fd8748464831584a19438cbb3082b5a2dab15
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: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/mobiveil/Kconfig