[edk2-devel] [PATCH v1 2/2] EmbeddedPkg/PrePiLib: Drop dependency on IntelFramework[Module]Pkg

Wu, Hao A posted 2 patches 14 weeks ago

[edk2-devel] [PATCH v1 2/2] EmbeddedPkg/PrePiLib: Drop dependency on IntelFramework[Module]Pkg

Posted by Wu, Hao A 14 weeks ago
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1720

This commit will remove the dependency on IntelFramework[Module]Pkg from
the PrePiLib.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Hao A Wu <hao.a.wu@intel.com>
---
 EmbeddedPkg/Library/PrePiLib/PrePiLib.inf       | 3 ---
 EmbeddedPkg/Library/PrePiLib/ReportStatusCode.c | 1 -
 2 files changed, 4 deletions(-)

diff --git a/EmbeddedPkg/Library/PrePiLib/PrePiLib.inf b/EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
index 9446bc47df..bdedb8d666 100644
--- a/EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
+++ b/EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
@@ -35,9 +35,6 @@
   MdePkg/MdePkg.dec
   EmbeddedPkg/EmbeddedPkg.dec
   MdeModulePkg/MdeModulePkg.dec
-  IntelFrameworkPkg/IntelFrameworkPkg.dec              # needed to support StatusCodes
-  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec  # needed to support StatusCodes
-
 
 [LibraryClasses]
   BaseLib
diff --git a/EmbeddedPkg/Library/PrePiLib/ReportStatusCode.c b/EmbeddedPkg/Library/PrePiLib/ReportStatusCode.c
index c56d2318fd..043cf5e9cd 100644
--- a/EmbeddedPkg/Library/PrePiLib/ReportStatusCode.c
+++ b/EmbeddedPkg/Library/PrePiLib/ReportStatusCode.c
@@ -15,7 +15,6 @@
 #include <Protocol/StatusCode.h>
 #include <Guid/StatusCodeDataTypeId.h>
 #include <Guid/StatusCodeDataTypeDebug.h>
-#include <FrameworkPei.h>
 
 EFI_STATUS
 EFIAPI
-- 
2.12.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#40581): https://edk2.groups.io/g/devel/message/40581
Mute This Topic: https://groups.io/mt/31616099/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-