summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/occ
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2013-11-12 10:41:49 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-11-12 11:46:08 -0600
commit6c2b3d7125fccd4eaae33e8b22428765d10d45dd (patch)
tree9c6a6cd98b50ec9508f762da563199806c67da80 /src/usr/hwpf/hwp/occ
parentb1ff73ec45a85d566c4be3c31800eefa0cfbfccc (diff)
downloadtalos-hostboot-6c2b3d7125fccd4eaae33e8b22428765d10d45dd.tar.gz
talos-hostboot-6c2b3d7125fccd4eaae33e8b22428765d10d45dd.zip
P2S_RESET not getting cleaned up
Change-Id: Iffe76be87c284c564cb5b6a9694b2ec2e44946dc CQ: SW234185 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7185 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/occ')
-rwxr-xr-xsrc/usr/hwpf/hwp/occ/occ_procedures/p8_pss_init.C27
1 files changed, 23 insertions, 4 deletions
diff --git a/src/usr/hwpf/hwp/occ/occ_procedures/p8_pss_init.C b/src/usr/hwpf/hwp/occ/occ_procedures/p8_pss_init.C
index 5e44b7801..c601e2390 100755
--- a/src/usr/hwpf/hwp/occ/occ_procedures/p8_pss_init.C
+++ b/src/usr/hwpf/hwp/occ/occ_procedures/p8_pss_init.C
@@ -20,7 +20,7 @@
/* Origin: 30 */
/* */
/* IBM_PROLOG_END_TAG */
-// $Id: p8_pss_init.C,v 1.7 2013/09/25 22:36:42 stillgs Exp $
+// $Id: p8_pss_init.C,v 1.8 2013/11/08 22:36:48 stillgs Exp $
// $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/p8_pss_init.C,v $
//------------------------------------------------------------------------------
// *! (C) Copyright International Business Machines Corp. 2011
@@ -143,7 +143,7 @@ p8_pss_init(const Target &i_target, uint32_t mode)
const fapi::Target & CHIP = i_target;
uint32_t & IMODE = mode;
FAPI_SET_HWP_ERROR(rc, RC_PROCPM_PSS_CODE_BAD_MODE);
- }
+ }
return rc;
@@ -457,8 +457,6 @@ pss_init(const Target& i_target)
FAPI_INF(" SPIPSS ADC CTRL_REG_2 Configuration ");
FAPI_INF(" hwctrl_inter_frm_delay => %d ", hwctrl_inter_frame_delay );
- FAPI_INF(" " );
- FAPI_INF(" " );
rc = fapiPutScom(i_target, SPIPSS_ADC_CTRL_REG2_0x00070002, data );
if (rc)
@@ -853,7 +851,28 @@ pss_reset(const Target& i_target)
FAPI_ERR("fapiPutScom(SPIPSS_P2S_RESET_REGISTER_0x00070045) failed.");
break;
}
+
+ // Clearing reset for cleanliness (SW229669)
+ e_rc=data.flushTo0();
+ if (e_rc)
+ {
+ rc.setEcmdError(e_rc);
+ break;
+ }
+
+ rc = fapiPutScom(i_target, SPIPSS_ADC_RESET_REGISTER_0x00070005 , data);
+ if (rc)
+ {
+ FAPI_ERR("fapiPutScom(SPIPSS_ADC_RESET_REGISTER_0x00070005) failed.");
+ break;
+ }
+ rc = fapiPutScom(i_target, SPIPSS_P2S_RESET_REGISTER_0x00070045 , data);
+ if (rc)
+ {
+ FAPI_ERR("fapiPutScom(SPIPSS_P2S_RESET_REGISTER_0x00070045) failed.");
+ break;
+ }
} while (0);
FAPI_INF("PSS reset end...\n");
OpenPOWER on IntegriCloud