mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-30 22:08:52 +09:00
![Ramon Fried](/assets/img/avatar_default.png)
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>
35 lines
939 B
Plaintext
35 lines
939 B
Plaintext
# 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
|