summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C
diff options
context:
space:
mode:
authorAlvin Wang <wangat@tw.ibm.com>2019-03-26 10:42:21 +0800
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-05-08 15:10:27 -0500
commitd035a51f51ae137f24301cca137cf8bdd9d6d561 (patch)
tree6b5c8d2f4e7e22cc79cd3947c09c54fdf8d8853b /src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C
parent58df73fd107419526422d2075e5085253a5202d2 (diff)
downloadtalos-hostboot-d035a51f51ae137f24301cca137cf8bdd9d6d561.tar.gz
talos-hostboot-d035a51f51ae137f24301cca137cf8bdd9d6d561.zip
Move kind library to generic
Change-Id: I3b5ce73bce01b36fa8faef7810002eecabbe6d35 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75003 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Dev-Ready: Alvin Wang <wangat@tw.ibm.com> Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75056 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C
index c5b43fce7..1b38ed539 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.C
@@ -307,7 +307,7 @@ const mss::states is_broadcast_capable(const fapi2::Target<fapi2::TARGET_TYPE_MC
// 2) Check that all of the DIMM kinds are equal - if they are, then we can do broadcast mode
const auto l_dimms = mss::find_targets<fapi2::TARGET_TYPE_DIMM>(i_target);
- const auto l_dimm_kinds = mss::dimm::kind::vector(l_dimms);
+ const auto l_dimm_kinds = mss::dimm::kind<>::vector(l_dimms);
const auto l_dimm_kind_check = is_broadcast_capable(l_dimm_kinds);
// 3) if both 1/2 are true, then broadcastable, otherwise false
@@ -329,7 +329,7 @@ fapi_try_exit:
/// @param[in] i_target the target to effect
/// @return l_capable - yes iff these vector of targets are broadcast capable
///
-const mss::states is_broadcast_capable(const std::vector<mss::dimm::kind>& i_kinds)
+const mss::states is_broadcast_capable(const std::vector<mss::dimm::kind<>>& i_kinds)
{
// If we don't have any DIMM kinds exit out
if(i_kinds.size() == 0)
@@ -345,7 +345,7 @@ const mss::states is_broadcast_capable(const std::vector<mss::dimm::kind>& i_kin
// Now, find if we have any kinds that differ from our first kind
// Note: starts on the next DIMM kind due to the fact that something always equals itself
const auto l_kind_it = std::find_if(i_kinds.begin() + 1,
- i_kinds.end(), [&l_expected_kind]( const mss::dimm::kind & i_rhs) -> bool
+ i_kinds.end(), [&l_expected_kind]( const mss::dimm::kind<>& i_rhs) -> bool
{
// If they're different, we found a DIMM that is differs
return (l_expected_kind != i_rhs);
OpenPOWER on IntegriCloud