summaryrefslogtreecommitdiffstats
path: root/src/sbefw/core/ipl.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbefw/core/ipl.C')
-rw-r--r--src/sbefw/core/ipl.C7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sbefw/core/ipl.C b/src/sbefw/core/ipl.C
index 965a198b..d331af59 100644
--- a/src/sbefw/core/ipl.C
+++ b/src/sbefw/core/ipl.C
@@ -6,6 +6,7 @@
/* OpenPOWER sbe Project */
/* */
/* Contributors Listed Below - COPYRIGHT 2017,2018 */
+/* [+] International Business Machines Corp. */
/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
@@ -66,14 +67,16 @@ ReturnCode sbeExecuteIstep (const uint8_t i_major, const uint8_t i_minor)
}
}
- (void)SbeRegAccess::theSbeRegAccess().updateSbeStep(i_major, i_minor);
-
if(rc != FAPI2_RC_SUCCESS)
{
SBE_ERROR( SBE_FUNC" FAPI RC:0x%08X", rc);
(void)SbeRegAccess::theSbeRegAccess().stateTransition(
SBE_DUMP_FAILURE_EVENT);
}
+ else
+ {
+ (void)SbeRegAccess::theSbeRegAccess().updateSbeStep(i_major, i_minor);
+ }
return rc;
#undef SBE_FUNC
OpenPOWER on IntegriCloud