diff options
author | Scott Collyer <scollyer@google.com> | 2019-08-07 14:41:44 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-09 00:16:45 +0000 |
commit | 672d90748a075c59125358f5c21384f552b6abb1 (patch) | |
tree | d13d6256e30bf422375229556bd5cc9d9b4660ff /board/kohaku/build.mk | |
parent | 21ef952c1234d12894a3980c700f934850b434e9 (diff) | |
download | chrome-ec-672d90748a075c59125358f5c21384f552b6abb1.tar.gz |
hatch: Allow data role swaps when EC is in RO
Data role swap requests were being rejected when the EC was running
RO. This can result in our type C ports attaching in the wrong data
role in cases such as dead battery. The rationale for this PD policy
is no longer valid as data/power roles are perserved during RO to RW
sysjumps. This CL removes the check for RO such that data role swaps
are allowed.
BUG=b:138618816
BRANCH=none
TEST=Tested by issuing battery cutoff command, then connected a
powered charger though hub. Verfied that data role swap request is no
longer reejected and the USB device attached to the hub enumerates as
expected.
Change-Id: Ic63ecde3336ba4c64492d9f727035c8fea936e8f
Signed-off-by: Scott Collyer <scollyer@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1742870
Tested-by: Scott Collyer <scollyer@chromium.org>
Commit-Queue: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/kohaku/build.mk')
0 files changed, 0 insertions, 0 deletions