diff options
| author | GuEe-GUI <[email protected]> | 2024-05-30 17:47:56 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2024-09-06 17:45:03 -0400 |
| commit | 2168ed8e7d408aeada3427ebbb90bb8996885668 (patch) | |
| tree | 62c168458c8e0edcc0981ca66113f79694567580 /components/drivers/pci/endpoint/SConscript | |
| parent | 802a6ed2caff69a4f881f109462931de4f4f2d40 (diff) | |
[DM/Feature] Basic PCI/PCIe (Peripheral Component Interconnect Express) bus
PCI/PCIe have better performance and more devices support, such as
NVMe, GPU, Powerful NIC (Like RDMA). PCI/PCIe can access control by
IOMMU that the virtualiztion and userspace driver will more safety.
PCI/PCIe device could hot plugging, no design modifications SoC required,
PCI/PCIe on Embedded SoC is popular now.
We make a simple framework to support them.
Feature Lists:
1.PCI INTx: the INT[A-D] pin IRQ for legacy PCI, work with platform PIC.
2.MSI/MSI-X: the message write IRQ for PCIe, work with platform's PIC.
3.PME: we only support the D0, D1, D2, D3HOT, D3COLD init by framework.
4.Endpoint: a simple EP framework for PCI FPGA or NTB function.
5.OFW: we only support work on OFW SoC, ACPI support in the future maybe.
Host controller:
1. Common PCI host controller on ECAM.
2. Generic PCI host controller on ECAM.
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/pci/endpoint/SConscript')
| -rw-r--r-- | components/drivers/pci/endpoint/SConscript | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/drivers/pci/endpoint/SConscript b/components/drivers/pci/endpoint/SConscript new file mode 100644 index 0000000000..ca3121619b --- /dev/null +++ b/components/drivers/pci/endpoint/SConscript @@ -0,0 +1,15 @@ +from building import * + +group = [] + +if not GetDepend(['RT_PCI_ENDPOINT']): + Return('group') + +cwd = GetCurrentDir() +CPPPATH = [cwd + '/../../include'] + +src = ['endpoint.c'] + +group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) + +Return('group') |
