mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 00:36:40 +07:00
37dddf14f1
This patch adds support to the Cadence PCIe controller in endpoint mode. Since pieces of source code are shared with the host driver (Root Complex mode), we create a new directory under drivers/pci dedicated to the Cadence PCIe controller. The common code is placed into drivers/pci/cadence/pcie-cadence.c and used by both the host and endpoint controller drivers. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@free-electrons.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
28 lines
665 B
Plaintext
28 lines
665 B
Plaintext
menu "Cadence PCIe controllers support"
|
|
|
|
config PCIE_CADENCE
|
|
bool
|
|
|
|
config PCIE_CADENCE_HOST
|
|
bool "Cadence PCIe host controller"
|
|
depends on OF
|
|
depends on PCI
|
|
select IRQ_DOMAIN
|
|
select PCIE_CADENCE
|
|
help
|
|
Say Y here if you want to support the Cadence PCIe controller in host
|
|
mode. This PCIe controller may be embedded into many different vendors
|
|
SoCs.
|
|
|
|
config PCIE_CADENCE_EP
|
|
bool "Cadence PCIe endpoint controller"
|
|
depends on OF
|
|
depends on PCI_ENDPOINT
|
|
select PCIE_CADENCE
|
|
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.
|
|
|
|
endmenu
|