summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/prdfTargetServices.C
diff options
context:
space:
mode:
authorCaleb Palmer <cnpalmer@us.ibm.com>2018-07-06 15:58:10 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2018-08-21 15:34:17 -0500
commit52093c412c62b30efe47a03efcce4b6badefd4f2 (patch)
tree4849eeb7aaa22816e60fc1e1d62f598ade2c9630 /src/usr/diag/prdf/common/plat/prdfTargetServices.C
parent437807d50d4a3681af9d751a567d689f831b0903 (diff)
downloadblackbird-hostboot-52093c412c62b30efe47a03efcce4b6badefd4f2.tar.gz
blackbird-hostboot-52093c412c62b30efe47a03efcce4b6badefd4f2.zip
PRD: Add MemRowRepair class
Change-Id: Ia8200af1fc187b7b519c7bfa8bf260b93de4795c RTC: 196073 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63374 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64931 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/diag/prdf/common/plat/prdfTargetServices.C')
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/prdfTargetServices.C10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/common/plat/prdfTargetServices.C b/src/usr/diag/prdf/common/plat/prdfTargetServices.C
index cbe916634..88f16b6f8 100755
--- a/src/usr/diag/prdf/common/plat/prdfTargetServices.C
+++ b/src/usr/diag/prdf/common/plat/prdfTargetServices.C
@@ -1049,6 +1049,16 @@ uint8_t getDimmPort<TYPE_MBA>( TARGETING::TargetHandle_t i_dimmTrgt )
return i_dimmTrgt->getAttr<ATTR_CEN_MBA_PORT>();
}
+template<>
+uint8_t getDimmPort<TYPE_MCA>( TARGETING::TargetHandle_t i_dimmTrgt )
+{
+ PRDF_ASSERT( nullptr != i_dimmTrgt );
+ PRDF_ASSERT( TYPE_DIMM == getTargetType(i_dimmTrgt) );
+
+ // Only one port on MCA
+ return 0;
+}
+
//------------------------------------------------------------------------------
template<>
OpenPOWER on IntegriCloud