diff options
author | Jacob Harvey <jlharvey@us.ibm.com> | 2017-03-07 11:43:00 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-03-23 23:43:34 -0400 |
commit | 1ef44b271a3513d978257dd48d7aa9a02f322669 (patch) | |
tree | 14cd4168a618387eb62ea0658df812df87f56af4 /src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C | |
parent | 08c95cafe23b418bed6ce1af0098a7b9a102ac4e (diff) | |
download | talos-hostboot-1ef44b271a3513d978257dd48d7aa9a02f322669.tar.gz talos-hostboot-1ef44b271a3513d978257dd48d7aa9a02f322669.zip |
Change accesses to IS_SIM to use mss accessor
Change-Id: Ic124fbcee4e1a4e05beed5806b69a8c63819e471
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/38270
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C b/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C index 793a7999b..305130f39 100644 --- a/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C +++ b/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C @@ -67,7 +67,7 @@ fapi2::ReturnCode p9_mss_scrub( const fapi2::Target<TARGET_TYPE_MCBIST>& i_targe } // If we're running in the simulator, we want to only touch the addresses which training touched - uint8_t is_sim = 0; + uint8_t l_sim = 0; bool l_poll_results = false; fapi2::buffer<uint64_t> l_status; @@ -84,9 +84,9 @@ fapi2::ReturnCode p9_mss_scrub( const fapi2::Target<TARGET_TYPE_MCBIST>& i_targe FAPI_TRY( mss::eff_memory_size(i_target, l_memory_size) ); l_poll_parameters.iv_initial_delay = mss::calculate_initial_delay(i_target, (l_memory_size * mss::BYTES_PER_GB)); - FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_IS_SIMULATION, fapi2::Target<TARGET_TYPE_SYSTEM>(), is_sim) ); + FAPI_TRY( mss::is_simulation( l_sim) ); - if (is_sim) + if (l_sim) { // Use some sort of pattern in sim in case the verification folks need to look for something // TK. Need a verification pattern. This is a not-good pattern for verification ... We don't really |