summaryrefslogtreecommitdiff
path: root/test/usb_pe_drp_noextended.c
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2020-07-15 11:03:25 -0600
committerCommit Bot <commit-bot@chromium.org>2020-07-29 03:33:52 +0000
commit545e72a8540f14416c3d91bf1b5483882a10519e (patch)
treeac91cc9b5159ad208aa931eea46677acc3c53da0 /test/usb_pe_drp_noextended.c
parenta3a577297d83798dd7a74771cfbc621d9228b838 (diff)
downloadchrome-ec-545e72a8540f14416c3d91bf1b5483882a10519e.tar.gz
TCPMv2: Optionally build extended message support
If CONFIG_USB_PD_EXTENDED_MESSAGES is defined, support sending and receiving extended messages. If it is not, remove the chunking state machines from the PRL and modify the PE to respond with Not Supported as appropriate. BUG=b:160374787,b:158572770 TEST=Attach various devices; observe PD traffic TEST=make run-usb_prl_noextended; make run-usb_pe_drp_noextended BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I862020155927b5613d599274708e60678c49c43c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2304263 Commit-Queue: Jett Rink <jettrink@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'test/usb_pe_drp_noextended.c')
l---------test/usb_pe_drp_noextended.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/usb_pe_drp_noextended.c b/test/usb_pe_drp_noextended.c
new file mode 120000
index 0000000000..8351ef8a31
--- /dev/null
+++ b/test/usb_pe_drp_noextended.c
@@ -0,0 +1 @@
+usb_pe_drp.c \ No newline at end of file