summaryrefslogtreecommitdiffstats
path: root/src/sbefw/core/sbeTimerSvc.C
diff options
context:
space:
mode:
authorspashabk-in <shakeebbk@in.ibm.com>2018-01-14 23:41:54 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2018-01-22 03:32:56 -0500
commit3f49215b05faad977abce306fc607f06c1d8c528 (patch)
treebec19a8948a5baefe9506545370eed25caa33d0c /src/sbefw/core/sbeTimerSvc.C
parent93aa36ba8134af8a1d7ccd16bb6b6f85644c9219 (diff)
downloadtalos-sbe-3f49215b05faad977abce306fc607f06c1d8c528.tar.gz
talos-sbe-3f49215b05faad977abce306fc607f06c1d8c528.zip
Update timer chipop support
Send response on PSU chipops everytime Increase resolution of timer to us Implement support for update timer Change-Id: I497265010d346fc65d14680e356473c019864194 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51933 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/sbefw/core/sbeTimerSvc.C')
-rw-r--r--src/sbefw/core/sbeTimerSvc.C5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sbefw/core/sbeTimerSvc.C b/src/sbefw/core/sbeTimerSvc.C
index eea43b17..8983df1e 100644
--- a/src/sbefw/core/sbeTimerSvc.C
+++ b/src/sbefw/core/sbeTimerSvc.C
@@ -5,7 +5,8 @@
/* */
/* OpenPOWER sbe Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2017 */
+/* Contributors Listed Below - COPYRIGHT 2015,2018 */
+/* [+] International Business Machines Corp. */
/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
@@ -59,7 +60,7 @@ uint32_t timerService::startTimer(uint32_t i_time, PkTimerCallback i_callBack )
}
// Schedule the timer
l_pkRc = pk_timer_schedule(&fixedTimer,
- PK_MILLISECONDS((uint32_t)i_time));
+ PK_MICROSECONDS((uint32_t)i_time));
if(l_pkRc)
{
SBE_ERROR(SBE_FUNC" Pk Timer Schedule failed, RC=[%d]", l_pkRc);
OpenPOWER on IntegriCloud