xref: /openbmc/linux/drivers/pci/endpoint/Kconfig (revision eb01d42a)
17328c8f4SBjorn Helgaas# SPDX-License-Identifier: GPL-2.0
25e8cb403SKishon Vijay Abraham I#
35e8cb403SKishon Vijay Abraham I# PCI Endpoint Support
45e8cb403SKishon Vijay Abraham I#
55e8cb403SKishon Vijay Abraham I
65e8cb403SKishon Vijay Abraham Imenu "PCI Endpoint"
75e8cb403SKishon Vijay Abraham I
85e8cb403SKishon Vijay Abraham Iconfig PCI_ENDPOINT
95e8cb403SKishon Vijay Abraham I	bool "PCI Endpoint Support"
10eb01d42aSChristoph Hellwig	depends on HAVE_PCI
115e8cb403SKishon Vijay Abraham I	help
125e8cb403SKishon Vijay Abraham I	   Enable this configuration option to support configurable PCI
135e8cb403SKishon Vijay Abraham I	   endpoint. This should be enabled if the platform has a PCI
145e8cb403SKishon Vijay Abraham I	   controller that can operate in endpoint mode.
155e8cb403SKishon Vijay Abraham I
165e8cb403SKishon Vijay Abraham I	   Enabling this option will build the endpoint library, which
175e8cb403SKishon Vijay Abraham I	   includes endpoint controller library and endpoint function
185e8cb403SKishon Vijay Abraham I	   library.
195e8cb403SKishon Vijay Abraham I
205e8cb403SKishon Vijay Abraham I	   If in doubt, say "N" to disable Endpoint support.
215e8cb403SKishon Vijay Abraham I
22d7467991SKishon Vijay Abraham Iconfig PCI_ENDPOINT_CONFIGFS
23d7467991SKishon Vijay Abraham I	bool "PCI Endpoint Configfs Support"
24d7467991SKishon Vijay Abraham I	depends on PCI_ENDPOINT
25d7467991SKishon Vijay Abraham I	select CONFIGFS_FS
26d7467991SKishon Vijay Abraham I	help
27d7467991SKishon Vijay Abraham I	   This will enable the configfs entry that can be used to
28d7467991SKishon Vijay Abraham I	   configure the endpoint function and used to bind the
29d7467991SKishon Vijay Abraham I	   function with a endpoint controller.
30d7467991SKishon Vijay Abraham I
31349e7a85SKishon Vijay Abraham Isource "drivers/pci/endpoint/functions/Kconfig"
32349e7a85SKishon Vijay Abraham I
335e8cb403SKishon Vijay Abraham Iendmenu
34