diff options
author | Prasad Bg Ranganath <prasadbgr@in.ibm.com> | 2016-09-06 11:01:00 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-09-07 11:43:02 -0400 |
commit | 746f3231d809784a435d7ddf66eca16ff87cc6e5 (patch) | |
tree | dd4c8f37fa113a4d4f63d2c33902890d612c0c8c | |
parent | 7cffc3009baacff0f21a62243aaab45cbf0e18d5 (diff) | |
download | talos-sbe-746f3231d809784a435d7ddf66eca16ff87cc6e5.tar.gz talos-sbe-746f3231d809784a435d7ddf66eca16ff87cc6e5.zip |
SBE:putring bug fix
Change-Id: I7d3521d8918174e04f735c22c3ffb5e1bab5e6db
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29270
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29273
Reviewed-by: Hostboot Team <hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
-rw-r--r-- | src/import/chips/p9/utils/p9_putRingUtils.C | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/import/chips/p9/utils/p9_putRingUtils.C b/src/import/chips/p9/utils/p9_putRingUtils.C index 2fe6ed0e..9b8af399 100644 --- a/src/import/chips/p9/utils/p9_putRingUtils.C +++ b/src/import/chips/p9/utils/p9_putRingUtils.C @@ -1,7 +1,7 @@ /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ -/* $Source: import/chips/p9/utils/p9_putRingUtils.C $ */ +/* $Source: src/import/chips/p9/utils/p9_putRingUtils.C $ */ /* */ /* OpenPOWER sbe Project */ /* */ @@ -252,7 +252,7 @@ fapi2::ReturnCode standardScan( // Add the chiplet ID in the Scom Address l_scomAddress |= l_chiplet; - const uint64_t l_maxRotates = 0x100000; + const uint64_t l_maxRotates = 0xFFFFF; uint64_t l_rotateCount = i_opVal; uint32_t l_numRotateScoms = 1; // 1 - We need to do atleast one scom @@ -295,10 +295,10 @@ fapi2::ReturnCode standardScan( } // Check OPCG_DONE status - l_scomAddress = 0x00000100; + uint32_t l_OPCGAddress = 0x00000100; // Add the chiplet ID in the Scom Address - l_scomAddress |= l_chiplet; + l_OPCGAddress |= l_chiplet; // @TODO: Value 300 is a random number to start with. uint32_t l_attempts = 300; @@ -309,9 +309,9 @@ fapi2::ReturnCode standardScan( fapi2::buffer<uint64_t> l_opcgStatus; #ifndef __PPE__ - l_rc = fapi2::getScom(l_parent, l_scomAddress, l_opcgStatus); + l_rc = fapi2::getScom(l_parent, l_OPCGAddress, l_opcgStatus); #else - l_rc = fapi2::getScom(i_target, l_scomAddress, l_opcgStatus); + l_rc = fapi2::getScom(i_target, l_OPCGAddress, l_opcgStatus); #endif if(l_rc != fapi2::FAPI2_RC_SUCCESS) |