fru: Add support to insert hot-plug PDRs into repository
This API helps to insert PDRs that are added or modified
during concurrent maintenance operations into the PDR repository.
The function assigns a new record handle (based on the last
BMC side PDR handle) and appends the provided PDR entry to the
repository.
Tested By: Tested and it successfully builds with -Doem-ibm=disabled
Change-Id: I4981caa7700b5022159056819b875e47240798a0
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/pldmd/oem_ibm.hpp b/pldmd/oem_ibm.hpp
index e3fbddf..13dfa92 100644
--- a/pldmd/oem_ibm.hpp
+++ b/pldmd/oem_ibm.hpp
@@ -85,6 +85,7 @@
codeUpdate->setOemPlatformHandler(oemPlatformHandler.get());
hostPDRHandler->setOemPlatformHandler(oemPlatformHandler.get());
hostPDRHandler->setOemUtilsHandler(oemUtilsHandler.get());
+ fruHandler->setOemPlatformHandler(oemPlatformHandler.get());
platformHandler->setOemPlatformHandler(oemPlatformHandler.get());
baseHandler->setOemPlatformHandler(oemPlatformHandler.get());
slotHandler->setOemPlatformHandler(oemPlatformHandler.get());