summaryrefslogtreecommitdiffstats
path: root/storagehandler.hpp
diff options
context:
space:
mode:
authorPradeep Kumar <pradeep1x.kumar@intel.com>2019-05-06 15:17:01 +0000
committerjayaprakash Mutyala <mutyalax.jayaprakash@intel.com>2019-07-05 19:04:36 +0000
commitb60e840abc33a50979ea0c8778fe06e28241b3b3 (patch)
tree3676464e228f93bca8dc2701d34982895420a940 /storagehandler.hpp
parent455ee0b99cdb2e438fd64fdcdd8b897cb617f249 (diff)
downloadphosphor-host-ipmid-b60e840abc33a50979ea0c8778fe06e28241b3b3.tar.gz
phosphor-host-ipmid-b60e840abc33a50979ea0c8778fe06e28241b3b3.zip
storagehandler: move get sdr info to new API
Rewrite: "Get SDR repository info" command to new IPMI provider API. Tested: Verified using ipmitool. ipmitool raw 0x0a 0x20 51 01 00 ff ff 00 00 00 00 00 00 00 00 00 Change-Id: I4b18631c4b4182f2c98caa145c151f3079cd7fc4 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.hpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/storagehandler.hpp b/storagehandler.hpp
index 9ec87cb..d093980 100644
--- a/storagehandler.hpp
+++ b/storagehandler.hpp
@@ -41,17 +41,3 @@ struct ReadFruDataResponse
uint8_t count; ///< Response data Count.
uint8_t data[]; ///< Response data.
} __attribute__((packed));
-
-/**
- * @struct Get Repository info command response
- */
-struct GetRepositoryInfoResponse
-{
- uint8_t sdrVersion; //< SDR version
- uint8_t recordCountLs; //< Record count LS byte
- uint8_t recordCountMs; //< Record count MS bte
- uint8_t freeSpace[2]; //< Free space in bytes, LS first
- uint8_t additionTimestamp[4]; //< Most recent addition timestamp LS first
- uint8_t deletionTimestamp[4]; //< Most recent deletion timestamp LS first
- uint8_t operationSupport; //< Operation support
-} __attribute__((packed));
OpenPOWER on IntegriCloud