summaryrefslogtreecommitdiffstats
path: root/src/occ_405/timer
diff options
context:
space:
mode:
authorWilliam Bryan <wilbryan@us.ibm.com>2017-01-16 14:34:53 -0600
committerWilliam A. Bryan <wilbryan@us.ibm.com>2017-02-15 18:50:20 -0500
commit61ebd774170f72a53a838944f6d3204c87638694 (patch)
tree2933c7a03f5f564509f7c69f07d0e449219edb47 /src/occ_405/timer
parent6ff7b2615b6eb6c19f64babf7a724923c12c34b3 (diff)
downloadtalos-occ-61ebd774170f72a53a838944f6d3204c87638694.tar.gz
talos-occ-61ebd774170f72a53a838944f6d3204c87638694.zip
Changes For P9 Enablement
Change-Id: I37e8174bcc6e99f602a66cff077ef41ad889b19c RTC:165351 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34949 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/timer')
-rwxr-xr-xsrc/occ_405/timer/timer.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/occ_405/timer/timer.c b/src/occ_405/timer/timer.c
index 7893497..d314ae6 100755
--- a/src/occ_405/timer/timer.c
+++ b/src/occ_405/timer/timer.c
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER OnChipController Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2016 */
+/* Contributors Listed Below - COPYRIGHT 2011,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -255,7 +255,10 @@ void task_poke_watchdogs(struct task * i_self)
//@TODO: remove when PGPE code is integrated, RTC: 163934
if(!G_simics_environment) // PGPE Beacon is not implemented in simics
{
+// TODO: RTC: 163934 Enable this when PGPE beacon is enabled.
+#if 0
check_pgpe_beacon();
+#endif
}
}
@@ -472,6 +475,7 @@ void check_pgpe_beacon(void)
static bool L_pgpe_beacon_unchanged_4ms = false; // pgpe beacon unchanged once (4ms)
static bool L_error_logged = false; // trace and error log only once
errlHndl_t l_err = NULL; // Error handler
+
do
{
// return PGPE Beacon
@@ -503,7 +507,6 @@ void check_pgpe_beacon(void)
// Second time beacon unchanged (8ms), log timeout error
TRAC_ERR("Error PGPE Beacon didn't change for 8 ms: %d",
pgpe_beacon);
-
/*
* @errortype
* @moduleid POKE_WD_TIMERS
OpenPOWER on IntegriCloud