summaryrefslogtreecommitdiff
path: root/drivers/pci/host/Kconfig
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-11-22 16:14:41 +0000
committerBjorn Helgaas <bhelgaas@google.com>2014-05-30 11:34:49 -0600
commitce292991d88b77160f348fb8a3a2cf6e78f4b456 (patch)
treeb6ab6cb10e05db9dc03de18a595974d3361d30ac /drivers/pci/host/Kconfig
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff)
PCI: generic: Add generic PCI host controller driver
Add support for a generic PCI host controller, such as a firmware-initialised device with static windows or an emulation by something such as kvmtool. The controller itself has no configuration registers and has its address spaces described entirely by the device-tree (using the bindings from ePAPR). Both CAM and ECAM are supported for Config Space accesses. Add corresponding documentation for the DT binding. [bhelgaas: currently uses the ARM-specific pci_common_init_dev() interface] Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/pci/host/Kconfig')
-rw-r--r--drivers/pci/host/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
index a6f67ec8882f..32d446effbb3 100644
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
@@ -33,4 +33,11 @@ config PCI_RCAR_GEN2
There are 3 internal PCI controllers available with a single
built-in EHCI/OHCI host controller present on each one.
+config PCI_HOST_GENERIC
+ bool "Generic PCI host controller"
+ depends on ARM && OF
+ help
+ Say Y here if you want to support a simple generic PCI host
+ controller, such as the one emulated by kvmtool.
+
endmenu