Add CPLD recovery image support
Support added to expose the CPLD recovery image
inventory details.
Tested:
Verified that CPLD recovery inventory object is
exposed in Redfish Software inventory query.
Change-Id: Ifd92e31f7c940647c7cb2cfb353ec58220032545
Signed-off-by: Vikram Bodireddy <vikram.bodireddy@linux.intel.com>
diff --git a/service/src/pfr_mgr.cpp b/service/src/pfr_mgr.cpp
index 318abe2..ed97fd2 100644
--- a/service/src/pfr_mgr.cpp
+++ b/service/src/pfr_mgr.cpp
@@ -61,7 +61,8 @@
* "RequestedActivation" to None. */
std::string activation =
(imgType == ImageType::bmcRecovery ||
- imgType == ImageType::biosRecovery)
+ imgType == ImageType::biosRecovery ||
+ imgType == ImageType::cpldRecovery)
? "xyz.openbmc_project.Software.Activation.Activations.StandbySpare"
: "xyz.openbmc_project.Software.Activation.Activations.Active";
std::string reqActNone =