PFR: PFR manager ad-hoc fixes
PFR manager miscellaneous fixes
- Updated redfish EventLog ID and Args.
- Updated panic/recovery reasons as per new spec.
- Corrected referrence pointer in readCpldReg function.
Tested:
Loaded image in wht and validate Redfish event logs
Change-Id: I4bccbfe650271bcfcc24037c50d385c5fa17dbf1
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
diff --git a/libpfr/inc/pfr.hpp b/libpfr/inc/pfr.hpp
index cd1b4f2..42af3f7 100644
--- a/libpfr/inc/pfr.hpp
+++ b/libpfr/inc/pfr.hpp
@@ -41,9 +41,10 @@
minorError
};
+std::string toHexString(const uint8_t val);
std::string getVersionInfoCPLD(ImageType &imgType);
int getProvisioningStatus(bool &ufmLocked, bool &ufmProvisioned);
-int readCpldReg(const ActionType &action, uint8_t value);
+int readCpldReg(const ActionType &action, uint8_t &value);
int setBMCBootCheckpoint(const uint8_t checkPoint);
} // namespace pfr