oem-ibm: Sync boot side file with bios attributes
This change adds support to update the boot side file to keep it
in sync with boot side bios attributes
Change-Id: I2bea293500c69a883f400ddaadc436705bbe5ab4
Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
diff --git a/libpldmresponder/bios_config.cpp b/libpldmresponder/bios_config.cpp
index cabb0bd..6b1b918 100644
--- a/libpldmresponder/bios_config.cpp
+++ b/libpldmresponder/bios_config.cpp
@@ -522,6 +522,10 @@
auto method = bus.new_method_call(service.c_str(), biosConfigPath,
dbusProperties, "Set");
std::variant<BaseBIOSTable> value = baseBIOSTableMaps;
+ if (oemBiosHandler)
+ {
+ oemBiosHandler->processOEMBaseBiosTable(baseBIOSTableMaps);
+ }
method.append(biosConfigInterface, biosConfigPropertyName, value);
bus.call_noreply(method, dbusTimeout);
}