summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/p9_mss_memdiag.C
diff options
context:
space:
mode:
authorJacob Harvey <jlharvey@us.ibm.com>2017-03-07 11:43:00 -0600
committerChristian R. Geddes <crgeddes@us.ibm.com>2017-03-14 22:40:31 -0400
commit519fbef6dcba4ed662366d7dd9f8c8ae43ba8e02 (patch)
treec91d414dec013621522b18d958fc256a73b1130a /src/import/chips/p9/procedures/hwp/memory/p9_mss_memdiag.C
parent50b826da8783a89248d7dbc5816c5aee6e6fd28b (diff)
downloadtalos-hostboot-519fbef6dcba4ed662366d7dd9f8c8ae43ba8e02.tar.gz
talos-hostboot-519fbef6dcba4ed662366d7dd9f8c8ae43ba8e02.zip
Change accesses to IS_SIM to use mss accessor
Change-Id: Ib9c6b7a1f3cc69894f16ef6fa642261abd7e2dff Original-Change-Id: Iafcaddbca510c29fb4a0289490b90b539dde2b13 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37610 Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/37883 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/p9_mss_memdiag.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_memdiag.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_memdiag.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_memdiag.C
index 0bdb4de8f..8814f29d9 100644
--- a/src/import/chips/p9/procedures/hwp/memory/p9_mss_memdiag.C
+++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_memdiag.C
@@ -68,8 +68,8 @@ extern "C"
return fapi2::FAPI2_RC_SUCCESS;
}
- uint8_t is_sim = false;
- FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, fapi2::Target<TARGET_TYPE_SYSTEM>(), is_sim) );
+ uint8_t l_sim = false;
+ FAPI_TRY( mss::is_simulation( l_sim) );
// Read the bad_dq_bitmap attribute and place corresponding symbol and chip marks
for (const auto& l_mca : mss::find_targets<TARGET_TYPE_MCA>(i_target))
@@ -125,7 +125,7 @@ extern "C"
// If we're in the sim, we want to poll for the FIR bit. I don't think this ever really happens
// unless we're expressly testing this API.
- if (is_sim)
+ if (l_sim)
{
// Poll for the fir bit. We expect this to be set ...
fapi2::buffer<uint64_t> l_status;
OpenPOWER on IntegriCloud