diff options
author | Caleb Palmer <cnpalmer@us.ibm.com> | 2017-11-20 15:08:16 -0600 |
---|---|---|
committer | Zane C. Shelley <zshelle@us.ibm.com> | 2017-12-12 14:49:29 -0500 |
commit | c32b0a4eb8644c094da52777a450fa93e75bb254 (patch) | |
tree | deb7f2519085a4b1cba6933b9c6de0f44d749dbd /src/usr/diag/mdia | |
parent | 60ccd2d1e7876d6e408ca65d7c8ec320e3aca1fe (diff) | |
download | talos-hostboot-c32b0a4eb8644c094da52777a450fa93e75bb254.tar.gz talos-hostboot-c32b0a4eb8644c094da52777a450fa93e75bb254.zip |
PRD: Reenable restore dram repairs
Change-Id: I3460131f4e848034bbb938a9dca9ea53bd41f966
CQ: SW408833
Backport: release-op910
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49919
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Diffstat (limited to 'src/usr/diag/mdia')
-rw-r--r-- | src/usr/diag/mdia/mdiasm.C | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/usr/diag/mdia/mdiasm.C b/src/usr/diag/mdia/mdiasm.C index 571796a8a..a946c2bda 100644 --- a/src/usr/diag/mdia/mdiasm.C +++ b/src/usr/diag/mdia/mdiasm.C @@ -899,28 +899,28 @@ bool StateMachine::executeWorkItem(WorkFlowProperties * i_wfp) case RESTORE_DRAM_REPAIRS: { - //TargetHandle_t target = getTarget( *i_wfp); - //TYPE trgtType = target->getAttr<ATTR_TYPE>(); - - //// MBA target - //if ( TYPE_MBA == trgtType ) - //{ - // rc = PRDF::restoreDramRepairs<TYPE_MBA>( target ); - //} - //// MCBIST target - //else - //{ - // // Get the connected MCAs. - // TargetHandleList mcaList; - // getChildAffinityTargets( mcaList, target, CLASS_UNIT, - // TYPE_MCA ); - // for ( auto & mca : mcaList ) - // { - // MDIA_SLOW( "sm: restoreDramRepairs(0x%08x)", - // get_huid(mca) ); - // rc = PRDF::restoreDramRepairs<TYPE_MCA>( mca ); - // } - //} + TargetHandle_t target = getTarget( *i_wfp); + TYPE trgtType = target->getAttr<ATTR_TYPE>(); + + // MBA target + if ( TYPE_MBA == trgtType ) + { + rc = PRDF::restoreDramRepairs<TYPE_MBA>( target ); + } + // MCBIST target + else + { + // Get the connected MCAs. + TargetHandleList mcaList; + getChildAffinityTargets( mcaList, target, CLASS_UNIT, + TYPE_MCA ); + for ( auto & mca : mcaList ) + { + MDIA_SLOW( "sm: restoreDramRepairs(0x%08x)", + get_huid(mca) ); + rc = PRDF::restoreDramRepairs<TYPE_MCA>( mca ); + } + } break; } |