diff options
author | Pradeep Kumar <pradeep1x.kumar@intel.com> | 2019-05-02 13:09:14 +0000 |
---|---|---|
committer | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2019-05-08 03:23:34 +0000 |
commit | b0c794d83c6ed5ac25db7f93ba8be54c570f971b (patch) | |
tree | c088b95eaec7432777962703c558af46bb8e1f22 /storagehandler.hpp | |
parent | 94930a1147ffc3bfd8a8ee50c4513c58a1bd2b55 (diff) | |
download | phosphor-host-ipmid-b0c794d83c6ed5ac25db7f93ba8be54c570f971b.tar.gz phosphor-host-ipmid-b0c794d83c6ed5ac25db7f93ba8be54c570f971b.zip |
storagehandler: move get FRU area info to new API
Rewritten "Get FRU inventory area info" command to use
the newly introduced IPMI provider API.
Tested:
Unable to verify as command was returning error
earlier too.
Change-Id: I535e1d5c41a1e0dc253148bc52df5f22b70b4330
Signed-off-by: Pradeep Kumar <pradeep1x.kumar@intel.com>
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'storagehandler.hpp')
-rw-r--r-- | storagehandler.hpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/storagehandler.hpp b/storagehandler.hpp index bcc6c7d..4754bf6 100644 --- a/storagehandler.hpp +++ b/storagehandler.hpp @@ -57,24 +57,6 @@ struct ReadFruDataResponse } __attribute__((packed)); /** - * @struct Get FRU inventory area info command request data - */ -struct FruInvenAreaInfoRequest -{ - uint8_t fruID; ///< FRU Device ID. FFH = reserved. -} __attribute__((packed)); - -/** - * @struct Get FRU inventory area info command response - */ -struct FruInvenAreaInfoResponse -{ - uint8_t sizels; ///< Fru Inventory area size in bytes, LS Byte - uint8_t sizems; ///< Fru Inventory are size in bytes, MS Byte - uint8_t access; ///< 0b Devices is accessed by bytes, 1b - by words -} __attribute__((packed)); - -/** * @struct Get Repository info command response */ struct GetRepositoryInfoResponse |