Skip to content

Commit

Permalink
Disable mem clk stop when in STR for DD2.* only
Browse files Browse the repository at this point in the history
Change-Id: I5775119bbba244081d033dbf3cf312fbc9c67050
Original-Change-Id: Ieeea636a6f0d62344f72d339a52c4a1b862fa258
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41459
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Michael D. Pardeik <pardeik@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Matt K. Light <mklight@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82432
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Tested-by: Daniel M Crowell <dcrowell@us.ibm.com>
  • Loading branch information
aamarin authored and dcrowell77 committed Aug 20, 2019
1 parent 7bb1c00 commit 85dce0d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/import/chips/p9/procedures/hwp/memory/lib/mc/mc.C
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ fapi2::ReturnCode set_str_reg(const fapi2::Target<fapi2::TARGET_TYPE_MCA>& i_tar
}

// MCA_MBASTR0Q_CFG_DIS_CLK_IN_STR: Set to 1 for PD_AND_STR_CLK_STOP, otherwise clear the bit
l_data.writeBit<MCA_MBASTR0Q_CFG_DIS_CLK_IN_STR>(l_str_enable == PD_AND_STR_CLK_STOP);
// 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);

Expand Down

0 comments on commit 85dce0d

Please sign in to comment.