summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9a/procedures/hwp/memory/lib/freq
diff options
context:
space:
mode:
authorStephen Glancy <sglancy@us.ibm.com>2019-04-15 13:43:14 -0400
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-04-16 12:59:04 -0500
commit8578705fa8a20463a44b36059b66083db12f5d5d (patch)
tree35a26378eaac1e6ec6f94b1054656feb026853ac /src/import/chips/p9a/procedures/hwp/memory/lib/freq
parent98267572c8c143aa73388239954331b0e1422871 (diff)
downloadtalos-hostboot-8578705fa8a20463a44b36059b66083db12f5d5d.tar.gz
talos-hostboot-8578705fa8a20463a44b36059b66083db12f5d5d.zip
Adds p9a freq specialization
build-fix Change-Id: I2f7d2eb564d8f08a61ec3fd9d3c214321c0a21c4 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75983 Reviewed-by: Louis Stermole <stermole@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Mark Pizzutillo <mark.pizzutillo@ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75990 Reviewed-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9a/procedures/hwp/memory/lib/freq')
-rw-r--r--src/import/chips/p9a/procedures/hwp/memory/lib/freq/axone_mss_freq.C12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/import/chips/p9a/procedures/hwp/memory/lib/freq/axone_mss_freq.C b/src/import/chips/p9a/procedures/hwp/memory/lib/freq/axone_mss_freq.C
index 23d6481ad..08317cb8a 100644
--- a/src/import/chips/p9a/procedures/hwp/memory/lib/freq/axone_mss_freq.C
+++ b/src/import/chips/p9a/procedures/hwp/memory/lib/freq/axone_mss_freq.C
@@ -129,6 +129,18 @@ fapi2::ReturnCode get_master_rank_per_dimm<mss::proc_type::AXONE>(
fapi_try_exit:
return fapi2::current_err;
}
+///
+/// @brief Gets the DIMM type for a specific DIMM - specialization for the NIMBUS processor type
+/// @param[in] i_target DIMM target
+/// @param[out] o_dimm_type DIMM type on the DIMM target
+/// @return FAPI2_RC_SUCCESS iff ok
+///
+template<>
+fapi2::ReturnCode get_dimm_type<mss::proc_type::AXONE>(const fapi2::Target<fapi2::TARGET_TYPE_DIMM>& i_target,
+ uint8_t& o_dimm_type)
+{
+ return mss::attr::get_dimm_type(i_target, o_dimm_type);
+}
///
/// @brief Gets the attribute for the maximum - specialization for Axone
OpenPOWER on IntegriCloud