You've already forked edk2-platforms
mirror of
https://github.com/Dasharo/edk2-platforms.git
synced 2026-03-06 14:51:43 -08:00
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:
@@ -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.
|
||||
|
||||
1433
Silicon/Phytium/FT2000-4Pkg/Library/PciSegmentLib/PciSegmentLib.c
Normal file
1433
Silicon/Phytium/FT2000-4Pkg/Library/PciSegmentLib/PciSegmentLib.c
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
Reference in New Issue
Block a user