summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/nest/p9_mss_setup_bars.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/nest/p9_mss_setup_bars.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/nest/p9_mss_setup_bars.C7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/nest/p9_mss_setup_bars.C b/src/import/chips/p9/procedures/hwp/nest/p9_mss_setup_bars.C
index d64ead488..1138a3447 100644
--- a/src/import/chips/p9/procedures/hwp/nest/p9_mss_setup_bars.C
+++ b/src/import/chips/p9/procedures/hwp/nest/p9_mss_setup_bars.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2018 */
+/* Contributors Listed Below - COPYRIGHT 2015,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -45,6 +45,7 @@
#include <p9n2_mc_scom_addresses.H>
#include <p9n2_mc_scom_addresses_fld.H>
#include <map>
+#include <lib/shared/mss_const.H>
#include <generic/memory/lib/utils/memory_size.H>
///----------------------------------------------------------------------------
@@ -293,7 +294,7 @@ fapi2::ReturnCode getMcMemSize(
(uint64_t)fapi2::current_err);
// Get the amount of memory behind this MCA target
- FAPI_TRY(mss::eff_memory_size(l_mca, l_mcaSize),
+ FAPI_TRY(mss::eff_memory_size<mss::mc_type::NIMBUS>(l_mca, l_mcaSize),
"Error returned from eff_memory_size - MCA, l_rc 0x%.8X",
(uint64_t)fapi2::current_err);
@@ -327,7 +328,7 @@ fapi2::ReturnCode getMcMemSize(
(uint64_t)fapi2::current_err);
// Get the amount of memory behind this DMI target
- FAPI_TRY(mss::eff_memory_size(l_dmi, l_dmiSize),
+ FAPI_TRY(mss::eff_memory_size<mss::mc_type::CENTAUR>(l_dmi, l_dmiSize),
"Error returned from eff_memory_size - DMI, l_rc 0x%.8X",
(uint64_t)fapi2::current_err);
OpenPOWER on IntegriCloud