summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C
diff options
context:
space:
mode:
authorLouis Stermole <stermole@us.ibm.com>2019-03-04 17:05:49 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-03-20 09:42:14 -0500
commit8fc0e7abffb04554f63196f5aaab035f1a72d245 (patch)
treecfb8c2d9a20292bed239ff4257db011c7f9e5c51 /src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C
parent71d98844bb93c20cdc7c0eb438ee8be7b3806908 (diff)
downloadtalos-hostboot-8fc0e7abffb04554f63196f5aaab035f1a72d245.tar.gz
talos-hostboot-8fc0e7abffb04554f63196f5aaab035f1a72d245.zip
Add p9a version of eff_memory_size API
Adds mc_type template on eff_memory_size functions to avoid symbol duplication on future systems. Change-Id: I11552c94ac1dfc7ea367e0a6bb5d63e13d18c183 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72790 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com> Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72896 Tested-by: Jenkins OP Build CI <op-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_scrub.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C4
1 files changed, 2 insertions, 2 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 4ebaab6ac..cda0dd9f8 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
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2018 */
+/* Contributors Listed Below - COPYRIGHT 2015,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -82,7 +82,7 @@ fapi2::ReturnCode p9_mss_scrub( const fapi2::Target<TARGET_TYPE_MCBIST>& i_targe
mss::poll_parameters l_poll_parameters(0, 200, 100 * mss::DELAY_1MS, 200, 10000);
uint64_t l_memory_size = 0;
- FAPI_TRY( mss::eff_memory_size(i_target, l_memory_size) );
+ FAPI_TRY( mss::eff_memory_size<mss::mc_type::NIMBUS>(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( mss::is_simulation( l_sim) );
OpenPOWER on IntegriCloud