summaryrefslogtreecommitdiffstats
path: root/src/occ_405/amec/amec_health.h
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2017-02-06 10:04:54 -0600
committerChristopher J. Cain <cjcain@us.ibm.com>2017-02-14 12:32:31 -0500
commit1747f6fbb5ad8e61e31c4c320bbff01e5636da62 (patch)
tree25191de8d8aa007ad32a65cee1370b82d0c09899 /src/occ_405/amec/amec_health.h
parent9405a91ef65ac39eb27cda9c5db52c20cc4cc30b (diff)
downloadtalos-occ-1747f6fbb5ad8e61e31c4c320bbff01e5636da62.tar.gz
talos-occ-1747f6fbb5ad8e61e31c4c320bbff01e5636da62.zip
Fix DIMM temperature reads
FIFO4 register requires a 4 byte read or will hang. OCC will request 4 byte read, but only look at first 2 for temperature. FIFO register can only read one byte per request which is less efficient. Change-Id: Ia0bbbc70f5b7de76f1bea64279b2ff7dd5b5a861 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35974 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Diffstat (limited to 'src/occ_405/amec/amec_health.h')
-rwxr-xr-xsrc/occ_405/amec/amec_health.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/occ_405/amec/amec_health.h b/src/occ_405/amec/amec_health.h
index 0f5baf0..11d8fb0 100755
--- a/src/occ_405/amec/amec_health.h
+++ b/src/occ_405/amec/amec_health.h
@@ -47,5 +47,9 @@ void amec_health_check_cent_temp(void);
void amec_health_check_cent_timeout(void);
void amec_health_check_dimm_temp(void);
void amec_health_check_dimm_timeout(void);
+void amec_mem_mark_logged(uint8_t i_cent,
+ uint8_t i_dimm,
+ uint8_t* i_clog_bitmap,
+ uint8_t* i_dlog_bitmap);
#endif
OpenPOWER on IntegriCloud