summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2018-07-19 04:24:42 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2018-07-23 12:06:41 -0500
commitf9a7b72ad608895677389b3a17a1a262a084df6d (patch)
treeee2690b6bcea853ac8833003ec9ed2922f949bec /src/import/chips/p9/procedures/hwp
parent2ff7bd1af1350387d76053325020ac1bf651901e (diff)
downloadtalos-hostboot-f9a7b72ad608895677389b3a17a1a262a084df6d.tar.gz
talos-hostboot-f9a7b72ad608895677389b3a17a1a262a084df6d.zip
Disable SBE HW i2c reset sequence on hreset
Change-Id: I5dc6a9082876d7658cabf4e559e91cb310081835 CQ: SW437922 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62884 Reviewed-by: Sandeep Korrapati <sakorrap@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/62897 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp')
-rw-r--r--src/import/chips/p9/procedures/hwp/perv/p9_sbe_hreset.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_sbe_hreset.C b/src/import/chips/p9/procedures/hwp/perv/p9_sbe_hreset.C
index 09c8723f0..07e7aca3a 100644
--- a/src/import/chips/p9/procedures/hwp/perv/p9_sbe_hreset.C
+++ b/src/import/chips/p9/procedures/hwp/perv/p9_sbe_hreset.C
@@ -162,6 +162,8 @@ fapi2::ReturnCode p9_sbe_hreset(
FAPI_TRY(fapi2::getScom(i_target, PERV_SB_CS_SCOM, l_data64),
"Error from getScom to PERV_SB_CS_SCOM");
+ // Disable HW i2c seeprom reset sequncer
+ FAPI_TRY(l_data64.setBit(PERV_SB_CS_BYPASSING_RESET_SEQUENCE_PIB_I2CM));
FAPI_TRY(l_data64.clearBit(PERV_SB_CS_START_RESTART_VECTOR0));
FAPI_TRY(l_data64.clearBit(PERV_SB_CS_START_RESTART_VECTOR1));
FAPI_TRY(fapi2::putScom(i_target, PERV_SB_CS_SCOM, l_data64),
@@ -190,6 +192,8 @@ fapi2::ReturnCode p9_sbe_hreset(
// HRESET
FAPI_TRY(fapi2::getCfamRegister(i_target, PERV_SB_CS_FSI, l_data32),
"Error from getCfamRegister to PERV_SB_CS_FSI");
+ // Disable HW i2c seeprom reset sequncer
+ FAPI_TRY(l_data32.setBit(PERV_SB_CS_BYPASSING_RESET_SEQUENCE_PIB_I2CM));
FAPI_TRY(l_data32.clearBit(PERV_SB_CS_START_RESTART_VECTOR0));
FAPI_TRY(l_data32.clearBit(PERV_SB_CS_START_RESTART_VECTOR1));
FAPI_TRY(fapi2::putCfamRegister(i_target, PERV_SB_CS_FSI, l_data32),
OpenPOWER on IntegriCloud