summaryrefslogtreecommitdiffstats
path: root/src/occ_405/amec/amec_sensors_power.c
diff options
context:
space:
mode:
authorWael El-Essawy <welessa@us.ibm.com>2015-11-05 17:44:54 -0600
committerWael Elessawy <welessa@us.ibm.com>2015-11-11 10:36:53 -0600
commit604c81c85e85651a482243998487faeb0da0d63b (patch)
treec95ce75aeaa6c82c7b3c64dc29cfbfbe5274a3a9 /src/occ_405/amec/amec_sensors_power.c
parent86d4c8b7e8bda9cd7eb2b59491fb712aeac0235a (diff)
downloadtalos-occ-604c81c85e85651a482243998487faeb0da0d63b.tar.gz
talos-occ-604c81c85e85651a482243998487faeb0da0d63b.zip
Enable Sensor support
add necessary sensor, amec, and other files to the build list. add the task_amec_slave to the rtls tick tables modify the gpe request structures to reflect the new P9 design enrich the .dis files contects for better debugging Change-Id: Iae39bb1c430da56310478c24a28aad6dfbc6d6d9 RTC: 133865 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21789 Tested-by: FSP CI Jenkins Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_405/amec/amec_sensors_power.c')
-rwxr-xr-xsrc/occ_405/amec/amec_sensors_power.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/occ_405/amec/amec_sensors_power.c b/src/occ_405/amec/amec_sensors_power.c
index 8d08db3..3369a5e 100755
--- a/src/occ_405/amec/amec_sensors_power.c
+++ b/src/occ_405/amec/amec_sensors_power.c
@@ -43,7 +43,8 @@
#include "amec_service_codes.h"
#include <amec_sensors_power.h>
#include <cmdh_snapshot.h>
-#include <vrm.h>
+// @TODO - TEMP - uncomment when vrm file is updated
+//#include <vrm.h>
#include "amec_oversub.h"
/******************************************************************************/
@@ -435,6 +436,8 @@ void amec_update_apss_sensors(void)
}
}
+// @TODO - TEMP - SPIVRMs are no longer defined, pgp_vrm.h and vrm.c are not present
+#if 0
// Function Specification
//
@@ -571,6 +574,8 @@ void amec_update_vrm_sensors(void)
}
}
+#endif // #if 0 @TODO - TEMP - SPIVRMs are no longer defined, pgp_vrm.h and vrm.c are not present
+
// Function Specification
//
// Name: amec_update_external_voltage
@@ -594,7 +599,8 @@ void amec_update_external_voltage()
/* Code */
/*------------------------------------------------------------------------*/
// Collect the external voltage data
- l_data = in32(PMC_GLOBAL_ACTUAL_VOLTAGE_REG);
+// @TODO - TEMP - External Votage regulator is not defined in simics yet
+// l_data = in32(PMC_GLOBAL_ACTUAL_VOLTAGE_REG);
// Extract the Vdd vid code and convert to voltage
l_temp = (l_data & 0xFF000000) >>24;
OpenPOWER on IntegriCloud