162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# PCI Endpoint Support
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_cimenu "PCI Endpoint"
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciconfig PCI_ENDPOINT
962306a36Sopenharmony_ci	bool "PCI Endpoint Support"
1062306a36Sopenharmony_ci	depends on HAVE_PCI
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	   Enable this configuration option to support configurable PCI
1362306a36Sopenharmony_ci	   endpoint. This should be enabled if the platform has a PCI
1462306a36Sopenharmony_ci	   controller that can operate in endpoint mode.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci	   Enabling this option will build the endpoint library, which
1762306a36Sopenharmony_ci	   includes endpoint controller library and endpoint function
1862306a36Sopenharmony_ci	   library.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci	   If in doubt, say "N" to disable Endpoint support.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciconfig PCI_ENDPOINT_CONFIGFS
2362306a36Sopenharmony_ci	bool "PCI Endpoint Configfs Support"
2462306a36Sopenharmony_ci	depends on PCI_ENDPOINT
2562306a36Sopenharmony_ci	select CONFIGFS_FS
2662306a36Sopenharmony_ci	help
2762306a36Sopenharmony_ci	   This will enable the configfs entry that can be used to
2862306a36Sopenharmony_ci	   configure the endpoint function and used to bind the
2962306a36Sopenharmony_ci	   function with a endpoint controller.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_cisource "drivers/pci/endpoint/functions/Kconfig"
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ciendmenu
34