From 8fc0e7abffb04554f63196f5aaab035f1a72d245 Mon Sep 17 00:00:00 2001 From: Louis Stermole Date: Mon, 4 Mar 2019 17:05:49 -0500 Subject: 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 Tested-by: Jenkins Server Reviewed-by: Mark Pizzutillo Reviewed-by: STEPHEN GLANCY Tested-by: HWSV CI Tested-by: Hostboot CI Reviewed-by: Jennifer A. Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72896 Tested-by: Jenkins OP Build CI Reviewed-by: Christian R. Geddes --- src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.H | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mcbist') diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.H b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.H index bafdc6e98..e42dcce00 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2018 */ +/* Contributors Listed Below - COPYRIGHT 2015,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -41,10 +41,11 @@ #include #include +#include +#include #include #include #include -#include #include #include #include @@ -1866,7 +1867,7 @@ class program constexpr uint64_t l_seconds = SEC_IN_HOUR * BG_SCRUB_IN_HOURS; FAPI_TRY( mss::freq(i_target, l_freq) ); - FAPI_TRY( mss::eff_memory_size(i_target, l_size) ); + FAPI_TRY( mss::eff_memory_size(i_target, l_size) ); calculate_min_cmd_gap(i_target, l_freq, l_size, l_min_cmd_gap, l_timebase); -- cgit v1.2.1