diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-09-18 17:01:21 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-18 20:57:39 -0700 |
commit | f46c115a28161a81ce17449201c0e8b29a7ef13f (patch) | |
tree | 97c610165f93ea69e028f8ef4ceab2d7ad5065fd /board/dingdong | |
parent | c7eaa0a81c25de7cad906e482c197432aa7dcbf7 (diff) | |
download | chrome-ec-f46c115a28161a81ce17449201c0e8b29a7ef13f.tar.gz |
pd: set USB communications capable flag in PDO
Set USB communications capable flag in source/sink
capabilities PDO on boards that support USB. This
signals to other side that we are capable of
communication over D+/D- or SS Tx/Rx.
BUG=chrome-os-partner:34982
BRANCH=samus,smaug
TEST=load on samus, use twinkie to sniff traffic,
verify that USB comms capable bit is set in source
cap packet
Change-Id: I0f49cf19eb141512298c3439a4708c53101d674f
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/300637
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/dingdong')
-rw-r--r-- | board/dingdong/usb_pd_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/dingdong/usb_pd_policy.c b/board/dingdong/usb_pd_policy.c index 103a4c26b8..06d2355b4a 100644 --- a/board/dingdong/usb_pd_policy.c +++ b/board/dingdong/usb_pd_policy.c @@ -22,7 +22,7 @@ #define CPRINTF(format, args...) cprintf(CC_USBPD, format, ## args) #define CPRINTS(format, args...) cprints(CC_USBPD, format, ## args) -#define PDO_FIXED_FLAGS 0 +#define PDO_FIXED_FLAGS PDO_FIXED_COMM_CAP /* Source PDOs */ const uint32_t pd_src_pdo[] = {}; |