summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/mdia/mdia.C
diff options
context:
space:
mode:
authorChris Phan <cphan@us.ibm.com>2013-09-13 14:02:24 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-09-18 15:45:43 -0500
commite884dd55d9411dff27c22088911e2075b5e60bef (patch)
tree64b4b9695a7be8be4c2e032681482ab01bf5ff1f /src/usr/diag/mdia/mdia.C
parent47a8df22b64392fd0142c20f986a0723d9b0cb6b (diff)
downloadtalos-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.C3
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.
OpenPOWER on IntegriCloud