The commit will remove the dependency on file:
Platform/Intel/AdvancedFeaturePkg/Ipmi/Include/IpmiEx.h

The IPMI header files within:
edk2/MdePkg/Include/IndustryStandard/

already have the structure definitions in this IpmiEx.h file.

Cc: Jiewen Yao <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <[email protected]>
---
 
Platform/Intel/PurleyOpenBoardPkg/Features/Ipmi/Library/IpmiLibKcs/IpmiLibKcs.c 
| 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/Platform/Intel/PurleyOpenBoardPkg/Features/Ipmi/Library/IpmiLibKcs/IpmiLibKcs.c
 
b/Platform/Intel/PurleyOpenBoardPkg/Features/Ipmi/Library/IpmiLibKcs/IpmiLibKcs.c
index 143618d464..62114fb3e5 100644
--- 
a/Platform/Intel/PurleyOpenBoardPkg/Features/Ipmi/Library/IpmiLibKcs/IpmiLibKcs.c
+++ 
b/Platform/Intel/PurleyOpenBoardPkg/Features/Ipmi/Library/IpmiLibKcs/IpmiLibKcs.c
@@ -21,7 +21,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER 
EXPRESS OR IMPLIED.
 #include <Library/IpmiPlatformHookLib.h>
 
 #include <IndustryStandard/Ipmi.h>
-#include <IpmiEx.h>
 
 #include "KcsBmc.h"
 
@@ -142,7 +141,7 @@ UpdateBmcStatusOnResponse (
       IpmiInstance->BmcStatus = EFI_BMC_HARDFAIL;
     } else {
       BmcInfo = (VOID *)IpmiResponse->ResponseData;
-      if (BmcInfo->UpdateMode) {
+      if (BmcInfo->FirmwareRev1.Bits.UpdateMode) {
         IpmiInstance->BmcStatus = EFI_BMC_UPDATE_IN_PROGRESS;
       }
     }
-- 
2.12.0.windows.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to