summaryrefslogtreecommitdiffstats
path: root/src/usr/i2c/i2c.C
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2019-03-21 16:15:45 -0500
committerChristian R. Geddes <crgeddes@us.ibm.com>2019-03-22 10:09:02 -0500
commitb8cfbb22598c993d17a62f4f4705d4fa80b45f7d (patch)
tree1e7effc70dfebede047a6924cec0a27f326c1402 /src/usr/i2c/i2c.C
parent27d7ab8db73879905d8f8d965ea126fec42a428f (diff)
downloadtalos-hostboot-b8cfbb22598c993d17a62f4f4705d4fa80b45f7d.tar.gz
talos-hostboot-b8cfbb22598c993d17a62f4f4705d4fa80b45f7d.zip
Set MUX i2c slave port to be 1
The i2c controller info attribute for the I2C Mux target had the port information set incorrectly. This commit addresses that and adds a debug trace that was helpful in figuring out this issue Change-Id: I34b5c920e8fe4f0f0ea68ce5aaf268095aab9886 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74864 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/usr/i2c/i2c.C')
-rwxr-xr-xsrc/usr/i2c/i2c.C3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C
index 442059877..5cf3944e5 100755
--- a/src/usr/i2c/i2c.C
+++ b/src/usr/i2c/i2c.C
@@ -4962,6 +4962,9 @@ errlHndl_t i2cRegisterOp ( DeviceFW::OperationType i_opType,
(i_args.engine * P9_ENGINE_SCOM_OFFSET);
op_size=8;
+ TRACUCOMP( g_trac_i2c,
+ "i2cRegisterOp() op_addr: 0x%lx io_data_64: 0x%lx",op_addr, *io_data_64 );
+
err = DeviceFW::deviceOp( i_opType,
i_target,
io_data_64,
OpenPOWER on IntegriCloud