diff options
author | Shawn McCarney <shawnmm@us.ibm.com> | 2017-07-12 16:19:54 -0500 |
---|---|---|
committer | Martha Broyles <mbroyles@us.ibm.com> | 2017-08-02 16:28:58 -0400 |
commit | 9b64b7c93ac21aaac19c98eda502ad00b1454120 (patch) | |
tree | 91302fdf03eb18d6995bbb9776e82c5765064761 /src/occ_405/sensor/sensor_main_memory.c | |
parent | 2c6661b3dcabd0aa3a69c3aeb34c760638da4064 (diff) | |
download | talos-occ-9b64b7c93ac21aaac19c98eda502ad00b1454120.tar.gz talos-occ-9b64b7c93ac21aaac19c98eda502ad00b1454120.zip |
Timestamp data when collected
This commit contains the following enhancements:
* New IPC function that runs on GPE0 to read the TOD (Time Of Day) registers
* New task on the OCC 405 that gets current TOD every tick via IPC function
* Sensor update function now sets timestamp to current TOD value
Change-Id: I0ea42b01e4df7a93633a68a0f3ed0f839d5e7b3f
RTC: 176504
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43891
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Diffstat (limited to 'src/occ_405/sensor/sensor_main_memory.c')
-rw-r--r-- | src/occ_405/sensor/sensor_main_memory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/occ_405/sensor/sensor_main_memory.c b/src/occ_405/sensor/sensor_main_memory.c index 66e4da8..7e4cb51 100644 --- a/src/occ_405/sensor/sensor_main_memory.c +++ b/src/occ_405/sensor/sensor_main_memory.c @@ -43,6 +43,7 @@ #include <occ_service_codes.h> // For OCC reason codes #include <sensor_service_codes.h> // For sensor module ids #include <trac.h> // For trace macros +#include <errl.h> // For error logging functions and types #include <occhw_async.h> // For bce_request_*(), async_request_is_idle() #include <cmdh_fsp_cmds.h> // For G_apss_ch_to_function |