summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2017-09-08 09:58:50 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2017-09-11 10:21:45 -0400
commit780380f6db80ca606e621204c3a17b45440ecb42 (patch)
tree2f46a8227d219e5991322c771847433ed329a2ec /src/usr
parent4c1db1e6180e5f33eba647d364063d78218aaf8d (diff)
downloadtalos-hostboot-780380f6db80ca606e621204c3a17b45440ecb42.tar.gz
talos-hostboot-780380f6db80ca606e621204c3a17b45440ecb42.zip
PRD: valid chip mark check in MemTdCtlr<T>::initialize()
Change-Id: I4d20ee84aee8d562b068e0ae215e96e5dfbcd37f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45888 Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45897 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/diag/prdf/plat/mem/prdfMemTdCtlr_rt.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfMemTdCtlr_rt.C b/src/usr/diag/prdf/plat/mem/prdfMemTdCtlr_rt.C
index cedba8f78..6637c2bdd 100644
--- a/src/usr/diag/prdf/plat/mem/prdfMemTdCtlr_rt.C
+++ b/src/usr/diag/prdf/plat/mem/prdfMemTdCtlr_rt.C
@@ -263,6 +263,8 @@ uint32_t MemTdCtlr<TYPE_MBA>::initialize()
break;
}
+ if ( !chipMark.isValid() ) continue; // no chip mark present
+
// Get the DQ Bitmap data.
TargetHandle_t mbaTrgt = mbaChip->GetChipHandle();
MemDqBitmap<DIMMS_PER_RANK::MBA> dqBitmap;
@@ -334,6 +336,8 @@ uint32_t MemTdCtlr<TYPE_MCBIST>::initialize()
break;
}
+ if ( !chipMark.isValid() ) continue; // no chip mark present
+
// Get the DQ Bitmap data.
TargetHandle_t mcaTrgt = mcaChip->GetChipHandle();
MemDqBitmap<DIMMS_PER_RANK::MCA> dqBitmap;
OpenPOWER on IntegriCloud