summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Palmer <cnpalmer@us.ibm.com>2015-07-01 11:12:03 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-07-13 14:45:14 -0500
commit8888ee15e0af659d5ba73c2c5aa12e9d297759d9 (patch)
tree2e92bee64728829a546b6899d5ad55641f457aae
parentc4009727afdbf877ba9cc285632e1a71158ac9dc (diff)
downloadtalos-hostboot-8888ee15e0af659d5ba73c2c5aa12e9d297759d9.tar.gz
talos-hostboot-8888ee15e0af659d5ba73c2c5aa12e9d297759d9.zip
PRD: Invalid soft CE MNFG threshold during HBRT
Change-Id: I06f103885126faca3731c04ff3da13fd567df049 CQ: SW312904 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18882 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18936 Tested-by: Jenkins OP Build CI Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Tested-by: Jenkins OP HW
-rwxr-xr-xsrc/usr/diag/prdf/plat/pegasus/prdfCenMbaThresholds.H9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/plat/pegasus/prdfCenMbaThresholds.H b/src/usr/diag/prdf/plat/pegasus/prdfCenMbaThresholds.H
index 37475792f..e6ac079b9 100755
--- a/src/usr/diag/prdf/plat/pegasus/prdfCenMbaThresholds.H
+++ b/src/usr/diag/prdf/plat/pegasus/prdfCenMbaThresholds.H
@@ -44,9 +44,18 @@ class ExtensibleChip;
*/
inline uint8_t getMnfgCeTh()
{
+ #ifndef __HOSTBOOT_RUNTIME
+
return MfgThresholdMgr::getInstance()->
getThreshold( TARGETING::ATTR_MNFG_TH_CEN_MBA_IPL_SOFT_CE_TH_ALGO );
+ #else
+
+ return MfgThresholdMgr::getInstance()->
+ getThreshold( TARGETING::ATTR_MNFG_TH_CEN_MBA_RT_SOFT_CE_TH_ALGO );
+
+ #endif
+
}
} // end namespace PRDF
OpenPOWER on IntegriCloud