[PATCH ipmi-fru-parser v2] Handle IOBoard VPD for Barreleye

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Jun 30 00:00:20 AEST 2016


Due to changes to the IOBoard VPD for Barreleye to include the MAC
address, the fru parser needs hardening to handle these changes.
First do not try to read data if the area length is 0. Second
adjust the area length as the checksum is now at a 4 byte
boundary instead of 8. The IOBOARD_WORKAROUND macro will be
added in the barreleye recipe.
Fixes openbmc/ipmi-fru-parser#19

Signed-off-by: Adriana Kobylak <anoo at us.ibm.com>

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/ipmi-fru-parser/22)
<!-- Reviewable:end -->


https://github.com/openbmc/ipmi-fru-parser/pull/22

Adriana Kobylak (1):
  Handle IOBoard VPD for Barreleye

 argument.C     |  1 +
 fru-area.H     | 10 +++++++++-
 readeeprom.C   | 11 +++++++++--
 writefrudata.C | 38 +++++++++++++++++++++++++++++++++++---
 writefrudata.H |  3 ++-
 5 files changed, 56 insertions(+), 7 deletions(-)

-- 
2.9.0




More information about the openbmc mailing list