summaryrefslogtreecommitdiffstats
path: root/src/occ_405/amec/amec_sensors_centaur.c
diff options
context:
space:
mode:
authormbroyles <mbroyles@us.ibm.com>2019-07-12 11:01:38 -0500
committerMartha Broyles <mbroyles@us.ibm.com>2019-07-22 16:25:28 -0500
commit788814140419c907001c59934da7be39a046820c (patch)
tree18085a0e25f83cab4d4196df69b80ac5131a8f3a /src/occ_405/amec/amec_sensors_centaur.c
parentd467852fe039a980180df22178ae09a89a3ed6d9 (diff)
downloadtalos-occ-788814140419c907001c59934da7be39a046820c.tar.gz
talos-occ-788814140419c907001c59934da7be39a046820c.zip
Support for 16 OCMBs
Change-Id: I906c797176f0ea2a683e6f05c7e6094cdf11693a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80364 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J Cain <cjcain@us.ibm.com> Reviewed-by: Douglas R Gilbert <dgilbert@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Diffstat (limited to 'src/occ_405/amec/amec_sensors_centaur.c')
-rw-r--r--src/occ_405/amec/amec_sensors_centaur.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/occ_405/amec/amec_sensors_centaur.c b/src/occ_405/amec/amec_sensors_centaur.c
index 8f946e6..b09e5fe 100644
--- a/src/occ_405/amec/amec_sensors_centaur.c
+++ b/src/occ_405/amec/amec_sensors_centaur.c
@@ -48,10 +48,10 @@
/******************************************************************************/
/* Globals */
/******************************************************************************/
-dimm_sensor_flags_t G_dimm_overtemp_bitmap = {0};
-dimm_sensor_flags_t G_dimm_temp_updated_bitmap = {0};
-uint8_t G_cent_overtemp_bitmap = 0;
-uint8_t G_cent_temp_updated_bitmap = 0;
+dimm_sensor_flags_t G_dimm_overtemp_bitmap = {{0}};
+dimm_sensor_flags_t G_dimm_temp_updated_bitmap = {{0}};
+uint16_t G_cent_overtemp_bitmap = 0;
+uint16_t G_cent_temp_updated_bitmap = 0;
extern uint8_t G_centaur_needs_recovery;
extern uint8_t G_centaur_nest_lfir6;
extern uint64_t G_inject_dimm;
@@ -441,7 +441,7 @@ void amec_update_centaur_temp_sensors(void)
}
}
- sensor_update(&g_amec->proc[0].temp2mscent,l_hot_centaur);
+ sensor_update(&g_amec->proc[0].tempcent,l_hot_centaur);
sensor_update(&g_amec->proc[0].tempdimmthrm,l_hot_dimm);
AMEC_DBG("HotCentaur=[%d] HotDimm=[%d]",l_hot_centaur, l_hot_dimm);
}
OpenPOWER on IntegriCloud