summaryrefslogtreecommitdiffstats
path: root/src/occ_405/amec/amec_sensors_fw.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_fw.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_fw.c')
-rw-r--r--src/occ_405/amec/amec_sensors_fw.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/occ_405/amec/amec_sensors_fw.c b/src/occ_405/amec/amec_sensors_fw.c
index 1bc3811..8447f2c 100644
--- a/src/occ_405/amec/amec_sensors_fw.c
+++ b/src/occ_405/amec/amec_sensors_fw.c
@@ -162,13 +162,15 @@ void amec_update_fw_sensors(void)
// Update Time used to measure GPE duration.
G_fw_timing.rtl_start_gpe = G_fw_timing.rtl_start;
+// @TODO - TEMP - Old PORE SCHEDULE, needs to be replaced with GPE schedule code.
+/*
// Schedule the GPE Routines that will run and update the worst
// case timings (via callback) after they complete. These GPE
// routines are the last GPE routines added to the queue
// during the RTL tick.
rc = pore_flex_schedule(G_fw_timing.gpe0_timing_request);
rc2 = pore_flex_schedule(G_fw_timing.gpe1_timing_request);
-
+*/
if(rc || rc2)
{
/* @
@@ -197,6 +199,8 @@ void amec_update_fw_sensors(void)
}
else if(L_consec_trace_count < MAX_CONSEC_TRACE)
{
+// @TODO: TEMP - PORE GPE Codes, needs to reflect PPE architecture.
+/*
uint64_t l_dbg0;
uint64_t l_dbg1;
uint64_t l_status;
@@ -233,6 +237,7 @@ void amec_update_fw_sensors(void)
(uint32_t)(l_status & 0x00000000ffffffffull));
}
L_consec_trace_count++;
+*/
}
}
}
OpenPOWER on IntegriCloud