summaryrefslogtreecommitdiff
path: root/intel-pfr-manager/service/src/pfr_mgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'intel-pfr-manager/service/src/pfr_mgr.cpp')
-rw-r--r--intel-pfr-manager/service/src/pfr_mgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intel-pfr-manager/service/src/pfr_mgr.cpp b/intel-pfr-manager/service/src/pfr_mgr.cpp
index d5fba5f..d5f1f59 100644
--- a/intel-pfr-manager/service/src/pfr_mgr.cpp
+++ b/intel-pfr-manager/service/src/pfr_mgr.cpp
@@ -31,7 +31,7 @@ PfrVersion::PfrVersion(sdbusplus::asio::object_server &srv_,
server(srv_),
conn(conn_), path(path_), imgType(imgType_), purpose(purpose_)
{
- version = getVersionInfoCPLD(imgType);
+ version = getFirmwareVersion(imgType);
std::string objPath = "/xyz/openbmc_project/software/" + path;
versionIface =
@@ -75,7 +75,7 @@ void PfrVersion::updateVersion()
{
if (versionIface && versionIface->is_initialized())
{
- std::string ver = getVersionInfoCPLD(imgType);
+ std::string ver = getFirmwareVersion(imgType);
internalSet = true;
versionIface->set_property(versionStr, ver);
internalSet = false;