Skip changing boot seeprom in memory preserving reboot

In memory preserving reboot path skip updating the attributes
to switch the seeprom. The boot seeprom should be not changed
during a memory preserving reboot

Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I16a9a79df69d66c4cf03517f1a072f2e2c0e534e
diff --git a/procedures/phal/start_host.cpp b/procedures/phal/start_host.cpp
index 33917ea..847e6c7 100644
--- a/procedures/phal/start_host.cpp
+++ b/procedures/phal/start_host.cpp
@@ -152,22 +152,6 @@
     // To clear trace if success
     openpower::pel::detail::processBootErrorCallback(true);
 
-    // Run select seeprom before poweron
-    try
-    {
-        selectBootSeeprom();
-
-        // To clear trace as it is success
-        openpower::pel::detail::processBootErrorCallback(true);
-    }
-    catch (const std::exception& ex)
-    {
-        // create PEL in failure
-        openpower::pel::detail::processBootErrorCallback(false);
-        log<level::ERR>("SEEPROM selection failed", entry("ERR=%s", ex.what()));
-        throw ex;
-    }
-
     // callback method will be called upon failure which will create the PEL
     int rc = ipl_run_major(0);
     if (rc > 0)
@@ -193,6 +177,22 @@
  */
 void startHostNormal()
 {
+    // Run select seeprom before poweron
+    try
+    {
+        selectBootSeeprom();
+
+        // To clear trace as it is success
+        openpower::pel::detail::processBootErrorCallback(true);
+    }
+    catch (const std::exception& ex)
+    {
+        // create PEL in failure
+        openpower::pel::detail::processBootErrorCallback(false);
+        log<level::ERR>("SEEPROM selection failed", entry("ERR=%s", ex.what()));
+        throw ex;
+    }
+
     startHost();
 }