diff options
author | Ramon Fried <ramon.fried@gmail.com> | 2019-04-27 11:15:21 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-11 10:05:15 -0400 |
commit | 914026d25848b856a669d629cb284c34843d707e (patch) | |
tree | b614c9f2101ec3afa6262a8029d60ce663ef8961 /drivers/pci_endpoint/Kconfig | |
parent | ef8b7e045ec744dce385cac4b1438c9be6e2bbc8 (diff) | |
download | u-boot-914026d25848b856a669d629cb284c34843d707e.tar.gz |
drivers: pci_ep: Introduce UCLASS_PCI_EP uclass
Introduce new UCLASS_PCI_EP class for handling PCI endpoint
devices, allowing to set various attributes of the PCI endpoint
device, such as:
* configuration space header
* BAR definitions
* outband memory mapping
* start/stop PCI link
Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pci_endpoint/Kconfig')
-rw-r--r-- | drivers/pci_endpoint/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/pci_endpoint/Kconfig b/drivers/pci_endpoint/Kconfig new file mode 100644 index 0000000000..ac4f43d1ab --- /dev/null +++ b/drivers/pci_endpoint/Kconfig @@ -0,0 +1,17 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# PCI Endpoint Support +# + +menu "PCI Endpoint" + +config PCI_ENDPOINT + bool "PCI Endpoint Support" + depends on DM + help + Enable this configuration option to support configurable PCI + endpoints. This should be enabled if the platform has a PCI + controllers that can operate in endpoint mode (as a device + connected to PCI host or bridge). + +endmenu |