aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pci/controller/Kconfig
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2022-07-14 20:42:12 +0800
committerBjorn Helgaas <bhelgaas@google.com>2022-07-14 15:25:36 -0500
commitcd89edda4002b7fb3c0a6765c3a60a60d5b1dc16 (patch)
treead6fc428dc3366a2b55bfd4fb9eb483273ce478d /drivers/pci/controller/Kconfig
parentPCI: loongson: Use generic 8/16/32-bit config ops on LS2K/LS7A (diff)
downloadwireguard-linux-cd89edda4002b7fb3c0a6765c3a60a60d5b1dc16.tar.xz
wireguard-linux-cd89edda4002b7fb3c0a6765c3a60a60d5b1dc16.zip
PCI: loongson: Add ACPI init support
Loongson PCH (LS7A chipset) will be used by both MIPS-based and LoongArch- based Loongson processors. MIPS-based Loongson uses FDT, while LoongArch- based Loongson uses ACPI. Add ACPI init support for the driver in pci-loongson.c because it is currently FDT-only. LoongArch is a new RISC ISA, mainline support will come soon, and documentations are here (in translation): https://github.com/loongson/LoongArch-Documentation Link: https://lore.kernel.org/r/20220714124216.1489304-4-chenhuacai@loongson.cn Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Bjorn Helgaas <bhelgaas@google.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..9dbd73898b47 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -293,7 +293,7 @@ config PCI_HYPERV_INTERFACE
config PCI_LOONGSON
bool "LOONGSON PCI Controller"
depends on MACH_LOONGSON64 || COMPILE_TEST
- depends on OF
+ depends on OF || ACPI
depends on PCI_QUIRKS
default MACH_LOONGSON64
help