-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCI: cadence: Move all files to per-device cadence directory
Cadence core library files may be used by various platform drivers. Add a new directory "cadence" to group all the Cadence core library files and the platforms using Cadence core library. Signed-off-by: Tom Joseph <tjoseph@cadence.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Andrew Murray <andrew.murray@arm.com>
- Loading branch information
Tom Joseph
authored and
Lorenzo Pieralisi
committed
Nov 11, 2019
1 parent
bd22885
commit de80f95
Showing
9 changed files
with
52 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
|
||
menu "Cadence PCIe controllers support" | ||
depends on PCI | ||
|
||
config PCIE_CADENCE | ||
bool | ||
|
||
config PCIE_CADENCE_HOST | ||
bool | ||
depends on OF | ||
select IRQ_DOMAIN | ||
select PCIE_CADENCE | ||
|
||
config PCIE_CADENCE_EP | ||
bool | ||
depends on OF | ||
depends on PCI_ENDPOINT | ||
select PCIE_CADENCE | ||
|
||
config PCIE_CADENCE_PLAT | ||
bool | ||
|
||
config PCIE_CADENCE_PLAT_HOST | ||
bool "Cadence PCIe platform host controller" | ||
depends on OF | ||
select PCIE_CADENCE_HOST | ||
select PCIE_CADENCE_PLAT | ||
help | ||
Say Y here if you want to support the Cadence PCIe platform controller in | ||
host mode. This PCIe controller may be embedded into many different | ||
vendors SoCs. | ||
|
||
config PCIE_CADENCE_PLAT_EP | ||
bool "Cadence PCIe platform endpoint controller" | ||
depends on OF | ||
depends on PCI_ENDPOINT | ||
select PCIE_CADENCE_EP | ||
select PCIE_CADENCE_PLAT | ||
help | ||
Say Y here if you want to support the Cadence PCIe platform controller in | ||
endpoint mode. This PCIe controller may be embedded into many | ||
different vendors SoCs. | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
obj-$(CONFIG_PCIE_CADENCE) += pcie-cadence.o | ||
obj-$(CONFIG_PCIE_CADENCE_HOST) += pcie-cadence-host.o | ||
obj-$(CONFIG_PCIE_CADENCE_EP) += pcie-cadence-ep.o | ||
obj-$(CONFIG_PCIE_CADENCE_PLAT) += pcie-cadence-plat.o |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.