diff options
author | Chris Phan <cphan@us.ibm.com> | 2013-12-03 13:09:38 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-12-12 10:36:43 -0600 |
commit | 19d3f895759093a4a2d7b231b27b3d79cc4cab62 (patch) | |
tree | 367b3f5d1ee742075b8a8d8098b19cb7c79b3b0b | |
parent | ece9483718f60199bf10181031f588d845bf1a70 (diff) | |
download | talos-hostboot-19d3f895759093a4a2d7b231b27b3d79cc4cab62.tar.gz talos-hostboot-19d3f895759093a4a2d7b231b27b3d79cc4cab62.zip |
MDIA: remove mpipl related code
Change-Id: I9ebb4d42ea9db9725f1f4a7965a2d5f6c2139e8c
RTC: 87493
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7506
Tested-by: Jenkins Server
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
-rw-r--r-- | src/usr/diag/mdia/mdia.C | 3 | ||||
-rw-r--r-- | src/usr/diag/mdia/mdiafwd.H | 1 | ||||
-rw-r--r-- | src/usr/diag/mdia/mdiaglobals.H | 5 | ||||
-rw-r--r-- | src/usr/diag/mdia/mdiamba.C | 20 |
4 files changed, 1 insertions, 28 deletions
diff --git a/src/usr/diag/mdia/mdia.C b/src/usr/diag/mdia/mdia.C index f9760464b..0abea9504 100644 --- a/src/usr/diag/mdia/mdia.C +++ b/src/usr/diag/mdia/mdia.C @@ -72,9 +72,6 @@ errlHndl_t runStep(const TargetHandleList & i_targetList) globals.mfgPolicy |= MNFG_FLAG_BIT_MNFG_ENABLE_EXHAUSTIVE_PATTERN_TEST; } - - uint8_t isMpipl = top->getAttr<ATTR_IS_MPIPL_HB>(); - globals.mpipl = (isMpipl ? true:false); } // get the workflow for each target mba passed in. diff --git a/src/usr/diag/mdia/mdiafwd.H b/src/usr/diag/mdia/mdiafwd.H index c6364b470..164daafe7 100644 --- a/src/usr/diag/mdia/mdiafwd.H +++ b/src/usr/diag/mdia/mdiafwd.H @@ -62,7 +62,6 @@ struct WorkFlowProperties; */ enum DiagMode { - SCRUB_ONLY, ONE_PATTERN, FOUR_PATTERNS, NINE_PATTERNS, diff --git a/src/usr/diag/mdia/mdiaglobals.H b/src/usr/diag/mdia/mdiaglobals.H index fd670aade..447af968b 100644 --- a/src/usr/diag/mdia/mdiaglobals.H +++ b/src/usr/diag/mdia/mdiaglobals.H @@ -48,11 +48,6 @@ struct Globals * @brief user interface policy */ uint64_t userPolicy; - - /** - * @brief memory preserving ipl flag - */ - bool mpipl; }; } #endif diff --git a/src/usr/diag/mdia/mdiamba.C b/src/usr/diag/mdia/mdiamba.C index 43e727e68..3ac8280a8 100644 --- a/src/usr/diag/mdia/mdiamba.C +++ b/src/usr/diag/mdia/mdiamba.C @@ -45,14 +45,6 @@ errlHndl_t getMbaDiagnosticMode( do { - // Can't do any pattern testing in MPIPL since - // that may cause customers data corruption - if(i_globals.mpipl) - { - o_mode = SCRUB_ONLY; - break; - } - if(MNFG_FLAG_BIT_MNFG_ENABLE_EXHAUSTIVE_PATTERN_TEST & i_globals.mfgPolicy) { @@ -132,11 +124,6 @@ errlHndl_t getMbaWorkFlow( case ONE_PATTERN: o_wf.push_back(START_PATTERN_0); // 0's pattern, must be last - - // fall through - - case SCRUB_ONLY: - o_wf.push_back(START_SCRUB); break; @@ -150,12 +137,7 @@ errlHndl_t getMbaWorkFlow( o_wf.push_back(ANALYZE_IPL_MNFG_CE_STATS); } - // only clear HW changed state attribute - // after any pattern test - if(SCRUB_ONLY != i_mode) - { - o_wf.push_back(CLEAR_HW_CHANGED_STATE); - } + o_wf.push_back(CLEAR_HW_CHANGED_STATE); return 0; } |