phal: ipl_error_callback_func prototype related changes

libipl ipl_error_callback_func prototype changed to support additional
error handling support. This commits includes the changes related to
this function prototype function.

Also made changes in internal error handling to make direct
call to processBootError instead of callback function.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I76aa1c4d41e4b2685b3c6534afe35988f35bc103
diff --git a/extensions/phal/phal_error.hpp b/extensions/phal/phal_error.hpp
index b132b8f..746b733 100644
--- a/extensions/phal/phal_error.hpp
+++ b/extensions/phal/phal_error.hpp
@@ -1,6 +1,9 @@
 #pragma once
 
+#include <libipl.H>
+
 #include <cstdarg>
+
 namespace openpower
 {
 namespace pel
@@ -23,6 +26,16 @@
 void processLogTraceCallback(void* private_data, const char* fmt, va_list ap);
 
 /**
+ * @brief Process ipl failure/success status
+ *
+ * If status is success log traces are cleared else used in the
+ * creation of failure
+ *
+ * @param[in] errInfo - Error info structure
+ */
+void processIplErrorCallback(const ipl_error_info& errInfo);
+
+/**
  * @brief Process boot failure/success status
  *
  * If status is success log traces are cleared else used in the
@@ -30,12 +43,13 @@
  *
  * @param[in] status - Boot execution status
  */
-void processBootErrorCallback(bool status);
+void processBootError(bool status);
 
 /**
  * @brief Reset trace log list
  */
 void reset();
+
 } // namespace detail
 
 /**