diff options
author | William Bryan <wilbryan@us.ibm.com> | 2017-05-11 16:38:59 -0500 |
---|---|---|
committer | William A. Bryan <wilbryan@us.ibm.com> | 2017-05-15 11:57:05 -0400 |
commit | b8d42ae5170515e5a465c002d9f2449c12906469 (patch) | |
tree | 18b970d17a384d0efada91fb434d69dad71a5949 /src/occ_405/timer | |
parent | 456d9a44627ebb8d5693e2320705e13409e1d361 (diff) | |
download | talos-occ-b8d42ae5170515e5a465c002d9f2449c12906469.tar.gz talos-occ-b8d42ae5170515e5a465c002d9f2449c12906469.zip |
Remove antiquated PMC code
Change-Id: I0a7e9fe5c854ce17602c4c0293fd59f8c4a7c7b2
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40419
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/timer')
-rwxr-xr-x | src/occ_405/timer/timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/occ_405/timer/timer.c b/src/occ_405/timer/timer.c index ba25a54..e31940a 100755 --- a/src/occ_405/timer/timer.c +++ b/src/occ_405/timer/timer.c @@ -227,14 +227,14 @@ void init_mem_deadman_reset_task(void) // End Function Specification void task_poke_watchdogs(struct task * i_self) { - pmc_occ_heartbeat_reg_t hbr; // OCC heart beat register + ocb_occhbr_t hbr; // OCC heart beat register static bool L_check_pgpe_beacon = false; // Check GPE beacon this time? // 1. Enable OCC heartbeat - hbr.fields.pmc_occ_heartbeat_time = 8000; // count corresponding to 8 ms - hbr.fields.pmc_occ_heartbeat_en = true; // enable heartbeat timer + hbr.fields.occ_heartbeat_count = 8000; // count corresponding to 8 ms + hbr.fields.occ_heartbeat_en = true; // enable heartbeat timer out32(OCB_OCCHBR, hbr.value); // Enable heartbeat register, and set it |