Enable redundant EEPROMs
This commit adds support in the VPD manager to
automatically update redundant EEPROMs.
The redundant EEPROMs path is obtained from the
"redundantEeprom" key in the VPD JSON.
Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Change-Id: I88dd6710523dd0d46d14bec5c849950db15cba28
diff --git a/vpd-manager/editor_impl.hpp b/vpd-manager/editor_impl.hpp
index c03354a..7c3eb9e 100644
--- a/vpd-manager/editor_impl.hpp
+++ b/vpd-manager/editor_impl.hpp
@@ -93,9 +93,11 @@
* 3) update the data for that keyword with the new data
*
* @param[in] kwdData - data to update
+ * @param[in] offset - offset at which the VPD starts
* @param[in] updCache - Flag which tells whether to update Cache or not.
*/
- void updateKeyword(const Binary& kwdData, const bool& updCache);
+ void updateKeyword(const Binary& kwdData, uint32_t offset,
+ const bool& updCache);
/** @brief Expands location code on DBUS
* @param[in] locationCodeType - "fcs" or "mts"