summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWael El-Essawy <welessa@us.ibm.com>2016-10-03 13:32:13 -0500
committerWael El-Essawy <welessa@us.ibm.com>2016-10-04 15:32:36 -0400
commit1ed8d89e173f8902b3b3bf0ed6da89b80ed31b75 (patch)
tree0a9b536142b149d850723662cdd8114c77325aef
parenta1bacd7a9424a1c11fe4b0851fe38f0f31cb8296 (diff)
downloadtalos-occ-1ed8d89e173f8902b3b3bf0ed6da89b80ed31b75.tar.gz
talos-occ-1ed8d89e173f8902b3b3bf0ed6da89b80ed31b75.zip
Implement Current Mode and Idle State in the Poll Response
Change-Id: Ib2197e2197fae41455b4a8c39861eb891e1f0838 RTC: 161994 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30632 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Wael El-Essawy <welessa@us.ibm.com>
-rwxr-xr-xsrc/occ_405/cmdh/cmdh_fsp_cmds.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/occ_405/cmdh/cmdh_fsp_cmds.c b/src/occ_405/cmdh/cmdh_fsp_cmds.c
index f246046..8a1ad79 100755
--- a/src/occ_405/cmdh/cmdh_fsp_cmds.c
+++ b/src/occ_405/cmdh/cmdh_fsp_cmds.c
@@ -187,7 +187,12 @@ ERRL_RC cmdh_poll_v20(cmdh_fsp_rsp_t * o_rsp_ptr)
l_poll_rsp->config_data = DATA_request_cnfgdata();
// Byte 5
l_poll_rsp->state = CURRENT_STATE();
- // Byte 6 - 7 reserved.
+ // Byte 6
+ l_poll_rsp->mode = CURRENT_MODE();
+ // Byte 7
+ l_poll_rsp->ips_status.word = 0;
+ l_poll_rsp->ips_status.ips_enabled = G_ips_config_data.iv_ipsEnabled;
+ l_poll_rsp->ips_status.ips_active = AMEC_mst_get_ips_active_status();
// Byte 8:
l_poll_rsp->errl_id = getOldestErrlID();
// Byte 9 - 12:
OpenPOWER on IntegriCloud