From 788814140419c907001c59934da7be39a046820c Mon Sep 17 00:00:00 2001 From: mbroyles Date: Fri, 12 Jul 2019 11:01:38 -0500 Subject: Support for 16 OCMBs Change-Id: I906c797176f0ea2a683e6f05c7e6094cdf11693a Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80364 Tested-by: FSP CI Jenkins Reviewed-by: Christopher J Cain Reviewed-by: Douglas R Gilbert Reviewed-by: Martha Broyles --- src/occ_405/amec/amec_sensors_centaur.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/occ_405/amec/amec_sensors_centaur.c') 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); } -- cgit v1.2.1