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

Wu, Hao A hao.a.wu at intel.com
Tue May 14 07:33:43 UTC 2019


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 at intel.com>
Cc: Leif Lindholm <leif.lindholm at linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel at linaro.org>
Signed-off-by: Hao A Wu <hao.a.wu at 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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list