diff options
author | Andre Marin <aamarin@us.ibm.com> | 2017-06-06 16:59:08 -0500 |
---|---|---|
committer | Daniel M Crowell <dcrowell@us.ibm.com> | 2019-08-20 08:38:23 -0500 |
commit | 85dce0de2a0073dd0f3be79bead502fa8b1eff64 (patch) | |
tree | 217da1c7a714c01df99b6e3b91a0362a453d8356 /src/import/chips/p9 | |
parent | 7bb1c003083146391d24c6f1a981ddad07384cbe (diff) | |
download | talos-hostboot-85dce0de2a0073dd0f3be79bead502fa8b1eff64.tar.gz talos-hostboot-85dce0de2a0073dd0f3be79bead502fa8b1eff64.zip |
Disable mem clk stop when in STR for DD2.* only
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>
Diffstat (limited to 'src/import/chips/p9')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/memory/lib/mc/mc.C | 6 |
1 files changed, 5 insertions, 1 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 230c109b3..281abae49 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 @@ -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); |