From 85dce0de2a0073dd0f3be79bead502fa8b1eff64 Mon Sep 17 00:00:00 2001 From: Andre Marin Date: Tue, 6 Jun 2017 16:59:08 -0500 Subject: 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 Reviewed-by: Michael D. Pardeik Tested-by: Jenkins Server Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Matt K. Light Reviewed-by: Daniel M. Crowell Reviewed-by: Jennifer A. Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/82432 Reviewed-by: Daniel M Crowell Tested-by: Daniel M Crowell --- src/import/chips/p9/procedures/hwp/memory/lib/mc/mc.C | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/import/chips/p9') 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& 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(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(l_str_enable == PD_AND_STR_CLK_STOP); + } l_data.insertFromRight(ENTER_STR_TIME); -- cgit v1.2.1