summaryrefslogtreecommitdiff
path: root/fuzz
diff options
context:
space:
mode:
authorAyushee <ayushee.shah@intel.com>2020-02-07 15:13:51 -0800
committerCommit Bot <commit-bot@chromium.org>2020-03-27 07:59:50 +0000
commitd4bc8b52d0562e1a05baea2531f735f5e3b723f4 (patch)
tree0b25cc07f59e812dc774866d1e5417081c637ff4 /fuzz
parent7bffc114e8f56cea32c04ac127092d29577894b8 (diff)
downloadchrome-ec-d4bc8b52d0562e1a05baea2531f735f5e3b723f4.tar.gz
usb_pd: Move cable communication functions to common file
BUG=b:148528713 BRANCH=none TEST=Verified on TCPMV1 and TCPMv2, able to get correct cable characteristics. Change-Id: I812b21c87661952bf4e86acaa194d4b136371594 Signed-off-by: Ayushee <ayushee.shah@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2051628 Reviewed-by: Diana Z <dzigterman@chromium.org> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Diffstat (limited to 'fuzz')
-rw-r--r--fuzz/usb_tcpm_v2_fuzz.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fuzz/usb_tcpm_v2_fuzz.c b/fuzz/usb_tcpm_v2_fuzz.c
index 70a8f15f5f..d4e89fd118 100644
--- a/fuzz/usb_tcpm_v2_fuzz.c
+++ b/fuzz/usb_tcpm_v2_fuzz.c
@@ -19,3 +19,8 @@ int pd_check_vconn_swap(int port)
{
return 1;
}
+
+void dfp_consume_cable_response(int port, int cnt, uint32_t *payload,
+ uint16_t head)
+{
+}