summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/ArmVirt.dsc.inc
diff options
context:
space:
mode:
authorAbner Chang <abner.chang@hpe.com>2022-01-30 00:03:47 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-01-29 17:36:59 +0000
commitba79becd553c4d9118fafcaedef4d36f1cb9c851 (patch)
treebed3767a24259f69ed8ecbc039aa712966c37103 /ArmVirtPkg/ArmVirt.dsc.inc
parent49a2d8cbf5191efd5c2709acd1a1e64f0d9599de (diff)
downloadedk2-ba79becd553c4d9118fafcaedef4d36f1cb9c851.tar.gz
edk2-ba79becd553c4d9118fafcaedef4d36f1cb9c851.tar.bz2
edk2-ba79becd553c4d9118fafcaedef4d36f1cb9c851.zip
OvmfPkg/BaseCachingPciExpressLib: Migrate BaseCachingPciExpressLib
Move BaseCachingPciExpressLib library from ArmVirtPkg to under OvmfPkg. RISC-V Virt platform can leverage the same library to access PCI Express registers through PCI Express base address set in PcdPciExpressBaseAddress and cached in a global variable. Cc: Daniel Schaefer <daniel.schaefer@hpe.com> Cc: Sunil V L <sunilvl@ventanamicro.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Abner Chang <abner.chang@hpe.com> Acked-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'ArmVirtPkg/ArmVirt.dsc.inc')
-rw-r--r--ArmVirtPkg/ArmVirt.dsc.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc
index 5a1598d90c..4db8ad5a79 100644
--- a/ArmVirtPkg/ArmVirt.dsc.inc
+++ b/ArmVirtPkg/ArmVirt.dsc.inc
@@ -141,7 +141,7 @@
# PCI Libraries
PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
- PciExpressLib|ArmVirtPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
+ PciExpressLib|OvmfPkg/Library/BaseCachingPciExpressLib/BaseCachingPciExpressLib.inf
PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf