Skip to content

Commit 021a90f

Browse files
geertuLorenzo Pieralisi
authored andcommitted
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>
1 parent a38fd87 commit 021a90f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • drivers/pci/controller/mobiveil

drivers/pci/controller/mobiveil/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ config PCIE_MOBIVEIL_PLAT
2424

2525
config PCIE_LAYERSCAPE_GEN4
2626
bool "Freescale Layerscape PCIe Gen4 controller"
27-
depends on PCI
28-
depends on OF && (ARM64 || ARCH_LAYERSCAPE)
27+
depends on ARCH_LAYERSCAPE || COMPILE_TEST
2928
depends on PCI_MSI_IRQ_DOMAIN
3029
select PCIE_MOBIVEIL_HOST
3130
help

0 commit comments

Comments
 (0)