diff options
author | Jacob Harvey <jlharvey@us.ibm.com> | 2016-06-29 11:12:59 -0500 |
---|---|---|
committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-07-18 16:15:28 -0500 |
commit | d8243ae68238a8697b7bd08c98d9f204c13de13c (patch) | |
tree | 7f34a8ec20d087accd22180612acbd76b624a057 /src/import/chips/p9/procedures/hwp/memory/lib/mc/xlate.C | |
parent | a47fed9255527ce2173bbcd6b77f63d9e19fa659 (diff) | |
download | talos-hostboot-d8243ae68238a8697b7bd08c98d9f204c13de13c.tar.gz talos-hostboot-d8243ae68238a8697b7bd08c98d9f204c13de13c.zip |
Implementing thermal_init
Change-Id: I0fc6f6ab6f209f7399d0f5369b03a4504838a026
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26739
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com>
Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/mc/xlate.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/mc/xlate.C | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mc/xlate.C b/src/import/chips/p9/procedures/hwp/memory/lib/mc/xlate.C index 0b869a79b..2cddbadcf 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/mc/xlate.C +++ b/src/import/chips/p9/procedures/hwp/memory/lib/mc/xlate.C @@ -47,20 +47,20 @@ using fapi2::TARGET_TYPE_DIMM; using fapi2::FAPI2_RC_SUCCESS; - namespace mss { +namespace mc +{ + -/// /// @brief Perform initializations of the MC translation -/// @tparm P, the fapi2::TargetType of the port -/// @tparm TT, the typename of the traits +/// @tparm P the fapi2::TargetType of the port +/// @tparm TT the typename of the traits /// @param[in] i_target, the target which has the MCA to map /// @return FAPI2_RC_SUCCESS iff ok -/// -template<> + template<> -fapi2::ReturnCode mc<TARGET_TYPE_MCS>::setup_xlate_map(const fapi2::Target<TARGET_TYPE_MCA>& i_target) +fapi2::ReturnCode setup_xlate_map(const fapi2::Target<TARGET_TYPE_MCA>& i_target) { fapi2::buffer<uint64_t> l_xlate; fapi2::buffer<uint64_t> l_xlate1; @@ -169,7 +169,6 @@ fapi2::ReturnCode mc<TARGET_TYPE_MCS>::setup_xlate_map(const fapi2::Target<TARGE // Row 16,17 bit maps are ignored. // Row 15 maps to Port Address bit 6 - // Drop down the column assignments l_xlate1.insertFromRight<MCS_PORT02_MCP0XLT1_COL4_BIT_MAP, MCS_PORT02_MCP0XLT1_COL4_BIT_MAP_LEN>(0b01101); @@ -212,6 +211,5 @@ fapi2::ReturnCode mc<TARGET_TYPE_MCS>::setup_xlate_map(const fapi2::Target<TARGE fapi_try_exit: return fapi2::current_err; } - - -} // namespace +} // namespace mc +} // namespace mss |