summaryrefslogtreecommitdiff
path: root/common/flash.c
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2015-04-17 09:43:33 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-04-17 19:38:11 +0000
commit0df89000a5bcfc8307a3f8bc85b0fdbe6653da6c (patch)
tree2ed62b93a390a034ad24baaa99f760efa41a4db3 /common/flash.c
parent78de9268b7fe9d96c3324c22b3bf4f88901f2372 (diff)
downloadchrome-ec-0df89000a5bcfc8307a3f8bc85b0fdbe6653da6c.tar.gz
pd: add a connection flag to pd port info for host
Export what the PD protocol stack thinks about the port connection state. This simplifies getting a meaningful data role/power role from the host (eg we are not really a UFP if we are simply dual-role toggling but not connected). Do not increment the command version as this is mostly backward-compatible and currently no client actually uses that field. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=samus BUG=none TEST=ectool --name=cros_pd usbpd 0 plug and unplug various accessories on the port and check the result. Change-Id: Ief3e0d47b6a288bcfc5b8fbb8156f29fd09dd336 Reviewed-on: https://chromium-review.googlesource.com/266120 Trybot-Ready: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Reviewed-by: Benson Leung <bleung@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common/flash.c')
0 files changed, 0 insertions, 0 deletions