pfr-manager: Get i2cBusNumber and i2cSlaveAddress from EntityManager.

Add support to pull i2cBusNumber and i2cSlaveAddress from EntityManager
service dynamically.

Tested:

i2cBusNumber and i2cSlaveAddress are read and updated.

Signed-off-by: Chalapathi Venkataramashetty <chalapathix.venkataramashetty@intel.com>
Change-Id: I90fc6f39cfffe609cfefe45fb1e17b9fd6d29f8a
diff --git a/libpfr/inc/pfr.hpp b/libpfr/inc/pfr.hpp
index e327b69..d088f4e 100644
--- a/libpfr/inc/pfr.hpp
+++ b/libpfr/inc/pfr.hpp
@@ -15,6 +15,10 @@
 */
 #pragma once
 
+#include <boost/algorithm/string/predicate.hpp>
+#include <boost/asio.hpp>
+#include <sdbusplus/asio/object_server.hpp>
+
 #include <string>
 
 namespace pfr
@@ -49,5 +53,7 @@
 int readCpldReg(const ActionType& action, uint8_t& value);
 std::string readCPLDVersion();
 int setBMCBootCheckpoint(const uint8_t checkPoint);
+void init(std::shared_ptr<sdbusplus::asio::connection> conn,
+          bool& i2cConfigLoaded);
 
 } // namespace pfr