summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2019-12-22 14:00:09 -0800
committerCommit Bot <commit-bot@chromium.org>2020-01-10 22:48:47 +0000
commit56404bba566db371763f93737fcafc1cfd9ca5d2 (patch)
tree65c8605cd2d2416d586eb9344dabb6c4c7ba3d60 /util
parentbccc832b7dbc056f464d549dd5f347277670d1b3 (diff)
downloadchrome-ec-56404bba566db371763f93737fcafc1cfd9ca5d2.tar.gz
TCPMv1: Correct the TBT3 Discovery and Entry Flow
Ref: USB Type-C Cable and Connector Specification 2.0 F.2 TBT3 Discovery and Entry Flow - Corrected the TBT3 Discovery flow - Corrected the TBT3 Entry Flow - Enabled the Active cable TBT3 mode entry - Refactored TBT & Cable VDO code on TCPMv1 so that same VDO structures can be used for TCPMv2 - Corrected getting the cable version - Cleaned up the code for super speed cable detection BUG=b:146006708, b:140643923, b:147134610 BRANCH=none TEST=Make buildall -j Able to detect Thunderbolt-compatible devices on TGLRVP Change-Id: I65f82e241d0cc2187050913e7d16942fdaa0ebd4 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1981276 Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/ectool.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/ectool.c b/util/ectool.c
index ac2bd878d5..1d13415399 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -5597,15 +5597,15 @@ int cmd_usb_pd(int argc, char *argv[])
r_v2->control_flags & USB_PD_MUX_TBT_LINK ?
"Uni" : "Bi");
- printf("Cable Speed:");
+ printf("TBT Cable Speed:");
switch (r_v2->cable_speed) {
- case USB3_GEN1:
+ case TBT_SS_U31_GEN1:
printf("TBT Gen1");
break;
- case USB3_GEN1_USB4_GEN2:
+ case TBT_SS_U32_GEN1_GEN2:
printf("TBT Gen1 and TBT Gen2");
break;
- case USB4_GEN3:
+ case TBT_SS_TBT_GEN3:
printf("TBT Gen3");
break;
default: