diff options
Diffstat (limited to 'src/sbefw/app/power/ipl_table.C')
-rw-r--r-- | src/sbefw/app/power/ipl_table.C | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/sbefw/app/power/ipl_table.C b/src/sbefw/app/power/ipl_table.C index 86b41f41..91379a67 100644 --- a/src/sbefw/app/power/ipl_table.C +++ b/src/sbefw/app/power/ipl_table.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2017,2018 */ +/* Contributors Listed Below - COPYRIGHT 2017,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -110,6 +110,7 @@ #include "sbeSecureMemRegionManager.H" #include "sbeConsole.H" +#include "sbecmdflushnvdimm.H" // Forward declaration using namespace fapi2; @@ -128,7 +129,6 @@ static const uint64_t N3_FIR_SYSTEM_CHECKSTOP_BIT = 30; // 63-33 = 30 // Externs extern p9_thread_control_FP_t threadCntlhwp; extern uint64_t G_ring_save[8]; - //Utility function to mask special attention extern ReturnCode maskSpecialAttn( const Target<TARGET_TYPE_CORE>& i_target ); @@ -999,6 +999,12 @@ ReturnCode istepStartMpipl( voidfuncptr_t i_hwp) SBE_ERROR(SBE_FUNC "resetCrespErrLatch failed"); break; } + rc = flushNVDIMM(); + if( rc != FAPI2_RC_SUCCESS ) + { + SBE_ERROR(SBE_FUNC "flushNVDIMM failed"); + break; + } }while(0); |