xref: /openbmc/linux/drivers/pci/endpoint/Kconfig (revision d3964221)
1#
2# PCI Endpoint Support
3#
4
5menu "PCI Endpoint"
6
7config PCI_ENDPOINT
8	bool "PCI Endpoint Support"
9	depends on HAS_DMA
10	help
11	   Enable this configuration option to support configurable PCI
12	   endpoint. This should be enabled if the platform has a PCI
13	   controller that can operate in endpoint mode.
14
15	   Enabling this option will build the endpoint library, which
16	   includes endpoint controller library and endpoint function
17	   library.
18
19	   If in doubt, say "N" to disable Endpoint support.
20
21config PCI_ENDPOINT_CONFIGFS
22	bool "PCI Endpoint Configfs Support"
23	depends on PCI_ENDPOINT
24	select CONFIGFS_FS
25	help
26	   This will enable the configfs entry that can be used to
27	   configure the endpoint function and used to bind the
28	   function with a endpoint controller.
29
30source "drivers/pci/endpoint/functions/Kconfig"
31
32endmenu
33