summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2015-07-28 11:52:53 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-11-16 12:34:40 -0600
commitb1dea34a6c857cf175dff09ee7165331d374f121 (patch)
tree879ed02ec1b34c229f2e085742448ded2f0fec40 /src/usr/hwpf
parentfc7293d210b0293d18abc66cbd719d1b5ac4d820 (diff)
downloadtalos-hostboot-b1dea34a6c857cf175dff09ee7165331d374f121.tar.gz
talos-hostboot-b1dea34a6c857cf175dff09ee7165331d374f121.zip
Fixed vddr not disabling for non-functional, present centaurs
All that was required for this was to add an extra argument to the targeting method getAllChips so that both functional, and non-functional chips are selected. RTC: 90467 Change-Id: I344ec6ca685f14b0c2afbada7e3e780ec9f2ea14 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19394 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Elizabeth Liner <eliner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf')
-rw-r--r--src/usr/hwpf/hwp/dram_training/hbVddrMsg.C14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/usr/hwpf/hwp/dram_training/hbVddrMsg.C b/src/usr/hwpf/hwp/dram_training/hbVddrMsg.C
index 7198988ee..cd131c515 100644
--- a/src/usr/hwpf/hwp/dram_training/hbVddrMsg.C
+++ b/src/usr/hwpf/hwp/dram_training/hbVddrMsg.C
@@ -235,7 +235,19 @@ void HBVddrMsg::createVddrData(
do{
TARGETING::TargetHandleList membufTargetList;
- getAllChips(membufTargetList, TYPE_MEMBUF);
+ //When request is a disable command, disable all present Centaurs
+ // in case we go through a reconfigure loop
+ if(i_requestType == HB_VDDR_DISABLE)
+ {
+ getChipResources( membufTargetList, TYPE_MEMBUF,
+ UTIL_FILTER_PRESENT );
+ }
+ //When the request is an enable command, enable only functional
+ // centaurs.
+ else
+ {
+ getAllChips(membufTargetList, TYPE_MEMBUF);
+ }
TARGETING::Target* pMembuf =NULL;
for (TARGETING::TargetHandleList::const_iterator
OpenPOWER on IntegriCloud