diff options
author | Chris Phan <cphan@us.ibm.com> | 2013-09-13 14:02:24 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-09-18 15:45:43 -0500 |
commit | e884dd55d9411dff27c22088911e2075b5e60bef (patch) | |
tree | 64b4b9695a7be8be4c2e032681482ab01bf5ff1f /src/usr/diag/mdia/mdia.C | |
parent | 47a8df22b64392fd0142c20f986a0723d9b0cb6b (diff) | |
download | talos-hostboot-e884dd55d9411dff27c22088911e2075b5e60bef.tar.gz talos-hostboot-e884dd55d9411dff27c22088911e2075b5e60bef.zip |
MDIA: set diag mode to init only when in MPIPL
Change-Id: I4a54e14fddd0178206008f801fdd4a74a15784dc
RTC: 84546
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6154
Tested-by: Jenkins Server
Reviewed-by: BENJAMIN J. WEISENBECK <bweisenb@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/mdia/mdia.C')
-rw-r--r-- | src/usr/diag/mdia/mdia.C | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/diag/mdia/mdia.C b/src/usr/diag/mdia/mdia.C index 9b646b0cd..2a983afac 100644 --- a/src/usr/diag/mdia/mdia.C +++ b/src/usr/diag/mdia/mdia.C @@ -67,6 +67,9 @@ 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. |