diff options
author | Diana Z <dzigterman@chromium.org> | 2023-02-22 13:40:26 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-23 20:21:26 +0000 |
commit | e23b5be121fb3332a8479cc8c2225724bb69a360 (patch) | |
tree | 2bac3ad819a5ab82bc2cec1dbed8d57d7bd55ad3 | |
parent | f56b8b220c6cab3d3309ec34637a289e9a45cdea (diff) | |
download | chrome-ec-e23b5be121fb3332a8479cc8c2225724bb69a360.tar.gz |
TCPM: Remove active mode caps from the PE console command
The PE console command prints out the active mode capabilities.
However, this is just the first mode position for all the alternate
modes we currently support. Remove this print in the interest of being
able to clean up the VDM interfaces more easily.
BRANCH=None
BUG=None
TEST=CQ+1
Change-Id: Ib6c1ec6161ce5a217fcd7294fb3006e8aa5382b7
Signed-off-by: Diana Z <dzigterman@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4283687
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r-- | common/usb_pd_console_cmd.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/common/usb_pd_console_cmd.c b/common/usb_pd_console_cmd.c index 5a1afe88a5..9d03bdf9aa 100644 --- a/common/usb_pd_console_cmd.c +++ b/common/usb_pd_console_cmd.c @@ -15,8 +15,6 @@ static void dump_pe(int port) { int i, j, idh_ptype; - struct svdm_amode_data *modep; - uint32_t mode_caps; const union disc_ident_ack *resp; enum tcpci_msg_type type; /* TODO(b/152417597): Output SOP' discovery results */ @@ -64,14 +62,6 @@ static void dump_pe(int port) ccprintf(" [%d] %08x", j + 1, disc->svids[i].mode_vdo[j]); ccprintf("\n"); - - modep = pd_get_amode_data(port, TCPCI_MSG_SOP, - disc->svids[i].svid); - if (modep) { - mode_caps = modep->data->mode_vdo[modep->opos - 1]; - ccprintf("MODE[%d]: svid:%04x caps:%08x\n", modep->opos, - modep->fx->svid, mode_caps); - } } } |