0001 # SPDX-License-Identifier: GPL-2.0
0002 #
0003 # PCI Endpoint Support
0004 #
0005
0006 menu "PCI Endpoint"
0007
0008 config PCI_ENDPOINT
0009 bool "PCI Endpoint Support"
0010 depends on HAVE_PCI
0011 help
0012 Enable this configuration option to support configurable PCI
0013 endpoint. This should be enabled if the platform has a PCI
0014 controller that can operate in endpoint mode.
0015
0016 Enabling this option will build the endpoint library, which
0017 includes endpoint controller library and endpoint function
0018 library.
0019
0020 If in doubt, say "N" to disable Endpoint support.
0021
0022 config PCI_ENDPOINT_CONFIGFS
0023 bool "PCI Endpoint Configfs Support"
0024 depends on PCI_ENDPOINT
0025 select CONFIGFS_FS
0026 help
0027 This will enable the configfs entry that can be used to
0028 configure the endpoint function and used to bind the
0029 function with a endpoint controller.
0030
0031 source "drivers/pci/endpoint/functions/Kconfig"
0032
0033 endmenu