Add fru get area info command
Added fru get area info command which is required for "ipmi fru"
command. Earlier it was supported through ipmid but with latest
change in ipmid supporting only phosphor-fru, needed to add this
command here.
I would prefer to add entity manager fru support including this
command in phosphor-ipmid which is the best way.
Tested: verified using "ipmi fru" command
Change-Id: I0adff8caa89efc9c30dc8ae17ba91d1e325ba925
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
diff --git a/include/storagecommands.hpp b/include/storagecommands.hpp
index de6fb58..78a8393 100644
--- a/include/storagecommands.hpp
+++ b/include/storagecommands.hpp
@@ -39,6 +39,13 @@
uint8_t bytesToRead;
};
+struct GetFRUAreaResp
+{
+ uint8_t inventorySizeLSB;
+ uint8_t inventorySizeMSB;
+ uint8_t accessType;
+};
+
struct GetFRUAreaReq
{
uint8_t fruDeviceID;