[edk2] [PATCH 3/6] ArmPkg: delete references to unused guids/Pcds from CpuDxe

Leif Lindholm posted 6 patches 6 years, 10 months ago
[edk2] [PATCH 3/6] ArmPkg: delete references to unused guids/Pcds from CpuDxe
Posted by Leif Lindholm 6 years, 10 months ago
gEfiDebugSupportPeriodicCallbackProtocolGuid and
PcdCpuDxeProduceDebugSupport are referred to from CpuDxe.
Delete references from .inf and .h.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
---
 ArmPkg/Drivers/CpuDxe/CpuDxe.h   | 1 -
 ArmPkg/Drivers/CpuDxe/CpuDxe.inf | 2 --
 2 files changed, 3 deletions(-)

diff --git a/ArmPkg/Drivers/CpuDxe/CpuDxe.h b/ArmPkg/Drivers/CpuDxe/CpuDxe.h
index a0f71e69ec..70afe00a08 100644
--- a/ArmPkg/Drivers/CpuDxe/CpuDxe.h
+++ b/ArmPkg/Drivers/CpuDxe/CpuDxe.h
@@ -35,7 +35,6 @@
 #include <Guid/DebugImageInfoTable.h>
 #include <Protocol/Cpu.h>
 #include <Protocol/DebugSupport.h>
-#include <Protocol/DebugSupportPeriodicCallback.h>
 #include <Protocol/LoadedImage.h>
 
 extern BOOLEAN mIsFlushingGCD;
diff --git a/ArmPkg/Drivers/CpuDxe/CpuDxe.inf b/ArmPkg/Drivers/CpuDxe/CpuDxe.inf
index d068e06803..0c5017b31e 100644
--- a/ArmPkg/Drivers/CpuDxe/CpuDxe.inf
+++ b/ArmPkg/Drivers/CpuDxe/CpuDxe.inf
@@ -60,7 +60,6 @@ [LibraryClasses]
 
 [Protocols]
   gEfiCpuArchProtocolGuid
-  gEfiDebugSupportPeriodicCallbackProtocolGuid
 
 [Guids]
   gEfiDebugImageInfoTableGuid
@@ -72,7 +71,6 @@ [Pcd.common]
   gArmTokenSpaceGuid.PcdVFPEnabled
 
 [FeaturePcd.common]
-  gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport
   gArmTokenSpaceGuid.PcdDebuggerExceptionSupport
 
 [Depex]
-- 
2.11.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel