public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Hao Wu <hao.a.wu@intel.com>
To: edk2-devel@lists.01.org
Cc: Hao Wu <hao.a.wu@intel.com>, Jiewen Yao <jiewen.yao@intel.com>
Subject: [PATCH edk2-platforms\devel-MinPlatform 3/4] PurleyOpenBoardPkg Ipmi: Update codes for header changes in MdePkg
Date: Mon,  9 Jul 2018 11:09:18 +0800	[thread overview]
Message-ID: <20180709030919.8464-4-hao.a.wu@intel.com> (raw)
In-Reply-To: <20180709030919.8464-1-hao.a.wu@intel.com>

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 <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
---
 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



  parent reply	other threads:[~2018-07-09  3:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-09  3:09 [PATCH edk2-platforms\devel-MinPlatform 0/4] IPMI codes update Hao Wu
2018-07-09  3:09 ` [PATCH edk2-platforms\devel-MinPlatform 1/4] AdvancedFeaturePkg/IpmiFru.c: Use 'DEBUG_' prefix for debug macros Hao Wu
2018-07-09  3:09 ` [PATCH edk2-platforms\devel-MinPlatform 2/4] AdvancedFeaturePkg/Ipmi: Update codes for header changes in MdePkg Hao Wu
2018-07-09  3:09 ` Hao Wu [this message]
2018-07-09  3:09 ` [PATCH edk2-platforms\devel-MinPlatform 4/4] AdvancedFeaturePkg/Ipmi: Delete IpmiEx.h Hao Wu
2018-07-09  3:31 ` [PATCH edk2-platforms\devel-MinPlatform 0/4] IPMI codes update Yao, Jiewen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180709030919.8464-4-hao.a.wu@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox