summaryrefslogtreecommitdiffstats
path: root/src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2017-01-10 14:32:13 -0600
committerChristopher J. Cain <cjcain@us.ibm.com>2017-01-18 18:40:21 -0500
commit6089fe0e7580b1c5030d1f380b1bc91c293e8bb9 (patch)
tree274c7e5e0c6a3214fd4c792266fbe8a396fa23d8 /src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c
parent4141b5f5fef2ba4b444aabbda1677e7f583cd4e8 (diff)
downloadtalos-occ-6089fe0e7580b1c5030d1f380b1bc91c293e8bb9.tar.gz
talos-occ-6089fe0e7580b1c5030d1f380b1bc91c293e8bb9.zip
AVS Bus divider, loadline and misc changes
- validate CRC in cmd response - read current / voltage on alternating ticks (commands on both bus for each tick) - calculate chip power (with loadline) and power for each tick - update divider value for bus speed - add error history counters and add them to logs Change-Id: I33bce916dc2dffef6a6d616633a5f1266d7baa7e RTC: 163992 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34947 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Diffstat (limited to 'src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c')
-rwxr-xr-xsrc/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c b/src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c
index b0d4cd2..d3e9a3f 100755
--- a/src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c
+++ b/src/occ_405/cmdh/cmdh_fsp_cmds_datacnfg.c
@@ -1001,9 +1001,8 @@ errlHndl_t data_store_avsbus_config(const cmdh_fsp_cmd_t * i_cmd_ptr,
G_avsbus_vdd_monitoring = TRUE;
G_sysConfigData.avsbus_vdd.bus = l_cmd_ptr->vdd_bus;
G_sysConfigData.avsbus_vdd.rail = l_cmd_ptr->vdd_rail;
- G_sysConfigData.avsbus_vdd.loadline = l_cmd_ptr->vdd_loadline;
- CNFG_DBG("data_store_avsbus_config: Vdd bus[%d] rail[%d] loadline[0x%02X]",
- G_sysConfigData.avsbus_vdd.bus, G_sysConfigData.avsbus_vdd.rail, G_sysConfigData.avsbus_vdd.loadline);
+ CNFG_DBG("data_store_avsbus_config: Vdd bus[%d] rail[%d]",
+ G_sysConfigData.avsbus_vdd.bus, G_sysConfigData.avsbus_vdd.rail);
}
else
{
@@ -1035,9 +1034,8 @@ errlHndl_t data_store_avsbus_config(const cmdh_fsp_cmd_t * i_cmd_ptr,
G_avsbus_vdn_monitoring = TRUE;
G_sysConfigData.avsbus_vdn.bus = l_cmd_ptr->vdn_bus;
G_sysConfigData.avsbus_vdn.rail = l_cmd_ptr->vdn_rail;
- G_sysConfigData.avsbus_vdn.loadline = l_cmd_ptr->vdn_loadline;
- CNFG_DBG("data_store_avsbus_config: Vdn bus[%d] rail[%d] loadline[0x%02X]",
- G_sysConfigData.avsbus_vdn.bus, G_sysConfigData.avsbus_vdn.rail, G_sysConfigData.avsbus_vdn.loadline);
+ CNFG_DBG("data_store_avsbus_config: Vdn bus[%d] rail[%d]",
+ G_sysConfigData.avsbus_vdn.bus, G_sysConfigData.avsbus_vdn.rail);
if (G_avsbus_vdd_monitoring &&
(G_sysConfigData.avsbus_vdd.bus == G_sysConfigData.avsbus_vdn.bus))
OpenPOWER on IntegriCloud