summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/Kconfig
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2019-04-24 12:57:14 +0800
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2019-05-30 15:28:01 +0100
commitec15c4d0d5d2e431169fbdf6c6bcf0c8ff71ef22 (patch)
treebd01cf8a894bb339051716fd86ab5c14ff783be2 /drivers/pci/controller/Kconfig
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
PCI: altera: Allow building as module
Altera PCIe Rootport IP is a soft IP and is only available after an FPGA image (whose design contains it) is programmed. Make driver modulable to support use cases when FPGA image is programmed after the kernel has booted, so that the driver can be loaded upon request. Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com> Signed-off-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 011c57cae4b0..89906351bd3f 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -174,7 +174,7 @@ config PCIE_IPROC_MSI
PCIe controller
config PCIE_ALTERA
- bool "Altera PCIe controller"
+ tristate "Altera PCIe controller"
depends on ARM || NIOS2 || ARM64 || COMPILE_TEST
help
Say Y here if you want to enable PCIe controller support on Altera