summaryrefslogtreecommitdiffstats
path: root/src/occ_405/dcom
diff options
context:
space:
mode:
authormbroyles <mbroyles@us.ibm.com>2017-05-15 16:51:19 -0500
committerMartha Broyles <mbroyles@us.ibm.com>2017-05-17 09:23:34 -0400
commit8a7df03ba3d475d51f8507a0424b63868cca7e8a (patch)
treecc599fcba941268583a4db4b9375c6944809e70f /src/occ_405/dcom
parente919c4a61d53fb909beee113f43c4d3da8b2c77a (diff)
downloadtalos-occ-8a7df03ba3d475d51f8507a0424b63868cca7e8a.tar.gz
talos-occ-8a7df03ba3d475d51f8507a0424b63868cca7e8a.zip
Initial support to handle no APSS
Change-Id: Ia14aebaf44e9a0a3d2e14a4ff3803793350986b4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40521 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Wael El-Essawy <welessa@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Diffstat (limited to 'src/occ_405/dcom')
-rw-r--r--src/occ_405/dcom/dcomMasterTx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/occ_405/dcom/dcomMasterTx.c b/src/occ_405/dcom/dcomMasterTx.c
index 44205a5..3285442 100644
--- a/src/occ_405/dcom/dcomMasterTx.c
+++ b/src/occ_405/dcom/dcomMasterTx.c
@@ -39,6 +39,7 @@
#include <amec_master_smh.h>
extern UINT8 g_amec_tb_record; // From amec_amester.c for syncronized traces
+extern bool G_apss_present;
// SSX Block Copy Request for the Slave Inbox Transmit Queue
BceRequest G_slv_inbox_tx_pba_request;
@@ -238,9 +239,9 @@ void task_dcom_tx_slv_inbox( task_t *i_self)
do
{
- // If we are in standby, we need to fake out
+ // If we are in standby or no APSS present, we need to fake out
// the APSS data since we aren't talking to APSS.
- if( OCC_STATE_STANDBY == CURRENT_STATE() )
+ if( (OCC_STATE_STANDBY == CURRENT_STATE()) || !G_apss_present )
{
G_ApssPwrMeasCompleted = TRUE;
}
OpenPOWER on IntegriCloud