summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/Kconfig
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-06-15 15:53:34 +0300
committerBjorn Helgaas <bhelgaas@google.com>2022-06-15 18:28:38 +0300
commitb3b76fc86f0fb4d98918f48c784138bfa950dff6 (patch)
treeca69878b34dc360de6e25cee8463cc91c3dbf7dc /drivers/pci/controller/Kconfig
parentc568d63b9155191e1fb42fe55e346e1248ed111b (diff)
downloadlinux-b3b76fc86f0fb4d98918f48c784138bfa950dff6.tar.xz
PCI: mediatek: Allow building for ARCH_AIROHA
Allow selecting the pcie-mediatek driver if ARCH_AIROHA is set, because the Airoha EN7523 SoC uses the same controller as MT7622. The driver itself is not modified. The PCIe controller DT node should use mediatek,mt7622-pcie after airoha,en7523-pcie. Link: https://lore.kernel.org/r/20220615125335.96089-2-nbd@nbd.name Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/controller/Kconfig')
-rw-r--r--drivers/pci/controller/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index b8d96d38064d..2f6806dc2a20 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -237,7 +237,7 @@ config PCIE_ROCKCHIP_EP
config PCIE_MEDIATEK
tristate "MediaTek PCIe controller"
- depends on ARCH_MEDIATEK || COMPILE_TEST
+ depends on ARCH_AIROHA || ARCH_MEDIATEK || COMPILE_TEST
depends on OF
depends on PCI_MSI_IRQ_DOMAIN
help