summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-02-16 18:02:23 +0530
committerRatan Gupta <ratagupt@in.ibm.com>2017-02-20 21:34:10 +0530
commit10b7ea76c5ea0537a22be25ee82915a88c5a733f (patch)
tree53d1880623bd341b554c77982ae873e66964d6e2
parentcdde23db0122547acde8379184250b3639604635 (diff)
downloadipmi-fru-parser-10b7ea76c5ea0537a22be25ee82915a88c5a733f.zip
ipmi-fru-parser-10b7ea76c5ea0537a22be25ee82915a88c5a733f.tar.gz
Inventory: Add chassis fru data
Change-Id: Idc83199d584ffe6d1b66debcb36244dd393495d0 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
-rw-r--r--frup.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/frup.cpp b/frup.cpp
index fdb34cf..f6ff8b4 100644
--- a/frup.cpp
+++ b/frup.cpp
@@ -853,9 +853,8 @@ int parse_fru_area (const uint8_t area, const void* msgbuf,
std::to_string(chassis_type));
continue;
}
+ _append_to_dict (i, vpd_info[i].type_length_field, info);
}
- //@TODO via https://github.com/openbmc/openbmc/issues/1091 - handle
- //chassis FRU area.
break;
case IPMI_FRU_AREA_BOARD_INFO:
#if IPMI_FRU_PARSER_DEBUG
OpenPOWER on IntegriCloud