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