From c86451e79bce0e441e623f38bb1b8a8fc7b14e4b Mon Sep 17 00:00:00 2001 From: Qihang Gao Date: Thu, 23 Apr 2026 10:21:49 +0800 Subject: [PATCH] UefiCpuPkg: Remove duplicate libraries in INF files In CpuDxeRiscV64 driver, TimerLib appears twice in [LibraryClasses] section, so remove the duplicate one. In RegisterCpuFeaturesLib driver, UefiBootServicesTableLib appears twice in [LibraryClasses] section, so remove the duplicate one. Signed-off-by: Qihang Gao --- UefiCpuPkg/CpuDxeRiscV64/CpuDxeRiscV64.inf | 1 - .../Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf | 1 - 2 files changed, 2 deletions(-) diff --git a/UefiCpuPkg/CpuDxeRiscV64/CpuDxeRiscV64.inf b/UefiCpuPkg/CpuDxeRiscV64/CpuDxeRiscV64.inf index 63424999b0..254d5e1f92 100644 --- a/UefiCpuPkg/CpuDxeRiscV64/CpuDxeRiscV64.inf +++ b/UefiCpuPkg/CpuDxeRiscV64/CpuDxeRiscV64.inf @@ -39,7 +39,6 @@ RiscVSbiLib RiscVMmuLib CacheMaintenanceLib - TimerLib [Sources] CpuDxe.c diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf index aba87842ce..b78ebc199d 100644 --- a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf +++ b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf @@ -41,7 +41,6 @@ SynchronizationLib UefiBootServicesTableLib IoLib - UefiBootServicesTableLib UefiLib [Protocols]