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/types.hpp b/types.hpp
index 080a976..f87b53c 100644
--- a/types.hpp
+++ b/types.hpp
@@ -35,7 +35,8 @@
using VPDfilepath = std::string;
using FruIsMotherboard = bool;
-using FrusMap = std::multimap<Path, std::pair<VPDfilepath, FruIsMotherboard>>;
+using FrusMap =
+ std::multimap<Path, std::tuple<VPDfilepath, VPDfilepath, FruIsMotherboard>>;
using LocationCode = std::string;
using LocationCodeMap = std::unordered_multimap<LocationCode, Path>;
using ListOfPaths = std::vector<sdbusplus::message::object_path>;