diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2020-07-15 11:03:25 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-29 03:33:52 +0000 |
commit | 545e72a8540f14416c3d91bf1b5483882a10519e (patch) | |
tree | ac91cc9b5159ad208aa931eea46677acc3c53da0 /test/usb_prl_noextended.c | |
parent | a3a577297d83798dd7a74771cfbc621d9228b838 (diff) | |
download | chrome-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_prl_noextended.c')
l--------- | test/usb_prl_noextended.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/usb_prl_noextended.c b/test/usb_prl_noextended.c new file mode 120000 index 0000000000..a47c01a13e --- /dev/null +++ b/test/usb_prl_noextended.c @@ -0,0 +1 @@ +usb_prl_old.c
\ No newline at end of file |