summaryrefslogtreecommitdiffstats
path: root/import
diff options
context:
space:
mode:
authorPrasad Bg Ranganath <prasadbgr@in.ibm.com>2016-08-11 00:48:45 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2016-08-11 11:01:18 -0400
commit4ef87859d8641606e2e2ffea8039037c22913f4d (patch)
treeb7d2aa212237fa7560802b8b8821f6ab1fed13f2 /import
parentba26b58bcf108622196a36948a98d65322418201 (diff)
downloadtalos-sbe-4ef87859d8641606e2e2ffea8039037c22913f4d.tar.gz
talos-sbe-4ef87859d8641606e2e2ffea8039037c22913f4d.zip
SBE:PUTRING: Add sim clock cycles to fapi2::delay funciton
Change-Id: I83b54fc7429e13fa80b2a78aed5f4e5884a7d0a5 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28138 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: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28139
Diffstat (limited to 'import')
-rw-r--r--import/chips/p9/utils/p9_putRingUtils.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/import/chips/p9/utils/p9_putRingUtils.C b/import/chips/p9/utils/p9_putRingUtils.C
index 5dbb9816..bc2440af 100644
--- a/import/chips/p9/utils/p9_putRingUtils.C
+++ b/import/chips/p9/utils/p9_putRingUtils.C
@@ -294,8 +294,8 @@ fapi2::ReturnCode standardScan(
// Add the chiplet ID in the Scom Address
l_scomAddress |= l_chiplet;
- // @TODO: Value 200 is a random number to start with.
- uint8_t l_attempts = 200;
+ // @TODO: Value 300 is a random number to start with.
+ uint32_t l_attempts = 300;
while(l_attempts > 0)
{
@@ -322,7 +322,7 @@ fapi2::ReturnCode standardScan(
// @TODO: 1 micro second is a number that works now.
// Need to derive the real delay number.
- fapi2::delay(1000, 0);
+ fapi2::delay(1000, 1000000);
}
OpenPOWER on IntegriCloud