diff options
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/mc/mc.C | 7 | ||||
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors_manual.H | 23 |
2 files changed, 0 insertions, 30 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mc/mc.C b/src/import/chips/p9/procedures/hwp/memory/lib/mc/mc.C index 2fe69479e..7bb76fe33 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/mc/mc.C +++ b/src/import/chips/p9/procedures/hwp/memory/lib/mc/mc.C @@ -160,13 +160,6 @@ fapi2::ReturnCode set_str_reg(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& i_tar break; } - // MCA_MBASTR0Q_CFG_DIS_CLK_IN_STR: Set to 1 for PD_AND_STR_CLK_STOP, otherwise clear the bit - // Only for DD2.0 and above, will not work for DD1.* HW - if( !chip_ec_feature_mss_dis_clk_in_str(i_target) ) - { - l_data.writeBit<MCA_MBASTR0Q_CFG_DIS_CLK_IN_STR>(l_str_enable == PD_AND_STR_CLK_STOP); - } - l_data.insertFromRight<TT::ENTER_STR_TIME_POS, TT::ENTER_STR_TIME_LEN>(ENTER_STR_TIME); FAPI_TRY(mss::putScom(i_target, MCA_MBASTR0Q, l_data), "Error in set_str_reg" ); diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors_manual.H b/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors_manual.H index 494d53435..89a37afeb 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors_manual.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/mss_attribute_accessors_manual.H @@ -459,29 +459,6 @@ fapi_try_exit: return false; } -/// -/// @brief ATTR_CHIP_EC_FEATURE_MSS_DIS_CLK_IN_STR getter -/// @tparam T the fapi2 target type of the target -/// @param[in] const ref to the target -/// @return bool true iff we're on a Nimbus < EC 2.0 -/// -template< fapi2::TargetType T > -inline bool chip_ec_feature_mss_dis_clk_in_str(const fapi2::Target<T>& i_target) -{ - const auto l_chip = mss::find_target<fapi2::TARGET_TYPE_PROC_CHIP>(i_target); - - uint8_t l_value = 0; - FAPI_TRY( FAPI_ATTR_GET(fapi2::ATTR_CHIP_EC_FEATURE_MSS_DIS_CLK_IN_STR, l_chip, l_value) ); - - return l_value != 0; - -fapi_try_exit: - FAPI_ERR("failed accessing ATTR_CHIP_EC_FEATURE_MSS_DIS_CLK_IN_STR: 0x%lx (target: %s)", - uint64_t(fapi2::current_err), mss::c_str(i_target)); - fapi2::Assert(false); - return false; -} - } // close mss namespace #endif |