Silicon/Phytium: Added PciSegmentLib to FT2000/4

The PCI Segment Library for Phytium platform.
with multiple RCs.

Signed-off-by: Ling Jia <jialing@phytium.com.cn>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
This commit is contained in:
Ling Jia
2021-09-09 17:24:02 +08:00
committed by Leif Lindholm
parent 959dcbddb0
commit e2f83eb901
3 changed files with 1463 additions and 7 deletions

View File

@@ -35,7 +35,8 @@
PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
[LibraryClasses.common.DXE_DRIVER]
# Pci dependencies
PciSegmentLib|Silicon/Phytium/FT2000-4Pkg/Library/PciSegmentLib/PciSegmentLib.inf
################################################################################
#
@@ -262,12 +263,6 @@
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
#
# PCI Support
#
ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf
MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
#
# The following 2 module perform the same work except one operate variable.
# Only one of both should be put into fdf.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,28 @@
#/** @file
# PCI Segment Library for Phytium platform with multiple RCs.
#
# Copyright (C) 2020, Phytium Technology Co, Ltd. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#**/
[Defines]
INF_VERSION = 0x0001001b
BASE_NAME = PciSegmentLib
FILE_GUID = fa5173d2-40fe-11eb-9b2f-cb20dc669fd3
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = PciSegmentLib
[Sources]
PciSegmentLib.c
[Packages]
MdePkg/MdePkg.dec
Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dec
[LibraryClasses]
BaseLib
DebugLib
IoLib