summaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorLiviu Dudau2014-09-29 16:29:31 +0200
committerBjorn Helgaas2014-10-01 01:08:57 +0200
commitd1e6dc91b532d3d3dbbd0fa356b775ca320dc2c2 (patch)
tree8470f782b1a12d70ccae0ce4ea983e5977a44c50 /arch/arm64/Kconfig
parentPCI: Add pci_remap_iospace() to map bus I/O resources (diff)
downloadkernel-qcow2-linux-d1e6dc91b532d3d3dbbd0fa356b775ca320dc2c2.tar.gz
kernel-qcow2-linux-d1e6dc91b532d3d3dbbd0fa356b775ca320dc2c2.tar.xz
kernel-qcow2-linux-d1e6dc91b532d3d3dbbd0fa356b775ca320dc2c2.zip
arm64: Add architectural support for PCI
Use the generic PCI domain and OF functions to provide support for PCI on arm64. [bhelgaas: Change comments to use generic PCI, not just PCIe. Nothing at this level is PCIe-specific.] Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig22
1 files changed, 21 insertions, 1 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index fd4e81a4e1ce..bc97147d326c 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -81,7 +81,7 @@ config MMU
def_bool y
config NO_IOPORT_MAP
- def_bool y
+ def_bool y if !PCI
config STACKTRACE_SUPPORT
def_bool y
@@ -156,6 +156,26 @@ menu "Bus support"
config ARM_AMBA
bool
+config PCI
+ bool "PCI support"
+ help
+ This feature enables support for PCI bus system. If you say Y
+ here, the kernel will include drivers and infrastructure code
+ to support PCI bus devices.
+
+config PCI_DOMAINS
+ def_bool PCI
+
+config PCI_DOMAINS_GENERIC
+ def_bool PCI
+
+config PCI_SYSCALL
+ def_bool PCI
+
+source "drivers/pci/Kconfig"
+source "drivers/pci/pcie/Kconfig"
+source "drivers/pci/hotplug/Kconfig"
+
endmenu
menu "Kernel Features"