mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 11:13:07 +00:00
bb41333782
Add a dummy PCI endpoint for sandbox. Supporting only a single function, it allows setting and reading header configuration. Signed-off-by: Ramon Fried <ramon.fried@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
34 lines
939 B
Text
34 lines
939 B
Text
# 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).
|
|
|
|
config PCIE_CADENCE_EP
|
|
bool "Cadence PCIe endpoint controller"
|
|
depends on PCI_ENDPOINT
|
|
help
|
|
Say Y here if you want to support the Cadence PCIe controller in
|
|
endpoint mode. This PCIe controller may be embedded into many
|
|
different vendors SoCs.
|
|
|
|
config PCI_SANDBOX_EP
|
|
bool "Sandbox PCIe endpoint controller"
|
|
depends on PCI_ENDPOINT
|
|
help
|
|
Say Y here if you want to support the Sandbox PCIe controller in
|
|
endpoint mode.
|
|
The sandbox driver act as a dummy driver which stores and
|
|
retrieves PCIe endpoint configuration as is.
|
|
|
|
endmenu
|