xref: /openbmc/linux/drivers/pci/endpoint/Kconfig (revision c849e551)
15e8cb403SKishon Vijay Abraham I#
25e8cb403SKishon Vijay Abraham I# PCI Endpoint Support
35e8cb403SKishon Vijay Abraham I#
45e8cb403SKishon Vijay Abraham I
55e8cb403SKishon Vijay Abraham Imenu "PCI Endpoint"
65e8cb403SKishon Vijay Abraham I
75e8cb403SKishon Vijay Abraham Iconfig PCI_ENDPOINT
85e8cb403SKishon Vijay Abraham I	bool "PCI Endpoint Support"
9c849e551SGeert Uytterhoeven	depends on HAS_DMA
105e8cb403SKishon Vijay Abraham I	help
115e8cb403SKishon Vijay Abraham I	   Enable this configuration option to support configurable PCI
125e8cb403SKishon Vijay Abraham I	   endpoint. This should be enabled if the platform has a PCI
135e8cb403SKishon Vijay Abraham I	   controller that can operate in endpoint mode.
145e8cb403SKishon Vijay Abraham I
155e8cb403SKishon Vijay Abraham I	   Enabling this option will build the endpoint library, which
165e8cb403SKishon Vijay Abraham I	   includes endpoint controller library and endpoint function
175e8cb403SKishon Vijay Abraham I	   library.
185e8cb403SKishon Vijay Abraham I
195e8cb403SKishon Vijay Abraham I	   If in doubt, say "N" to disable Endpoint support.
205e8cb403SKishon Vijay Abraham I
21d7467991SKishon Vijay Abraham Iconfig PCI_ENDPOINT_CONFIGFS
22d7467991SKishon Vijay Abraham I	bool "PCI Endpoint Configfs Support"
23d7467991SKishon Vijay Abraham I	depends on PCI_ENDPOINT
24d7467991SKishon Vijay Abraham I	select CONFIGFS_FS
25d7467991SKishon Vijay Abraham I	help
26d7467991SKishon Vijay Abraham I	   This will enable the configfs entry that can be used to
27d7467991SKishon Vijay Abraham I	   configure the endpoint function and used to bind the
28d7467991SKishon Vijay Abraham I	   function with a endpoint controller.
29d7467991SKishon Vijay Abraham I
30349e7a85SKishon Vijay Abraham Isource "drivers/pci/endpoint/functions/Kconfig"
31349e7a85SKishon Vijay Abraham I
325e8cb403SKishon Vijay Abraham Iendmenu
33