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

Message ID 20180206172202.11667-4-leif.lindholm@linaro.org
State Accepted
Commit 09c3c69cfde1f3dcaf26799bcd04720880895fea
Headers show
Series
  • Delete unused EmbeddedPkg code, Pcds and guids
Related show

Commit Message

Leif Lindholm Feb. 6, 2018, 5:21 p.m.
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(-)

-- 
2.11.0

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

Patch

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]