diff options
author | Bill Richardson <wfrichar@chromium.org> | 2016-04-06 16:35:12 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-04-07 20:13:52 -0700 |
commit | 62cbb5cafe3cb4ec770c7c6ab0f19e86460f2a9c (patch) | |
tree | 0f1dcc28b162e4e52fbedda68635ff9e47bf8554 /include | |
parent | a5e74e6b45e2484fba2d7dc81ac054497d2576f3 (diff) | |
download | chrome-ec-62cbb5cafe3cb4ec770c7c6ab0f19e86460f2a9c.tar.gz |
Cr50: Add console command "usb" for testing
This adds a command to connect or disconnect, and to switch the
PHY between A or B.
BUG=chrome-os-partner:52055
BRANCH=none
TEST=make buildall; test on Cr50
Using a test board with both PHYs plugged in, try the various
commands:
usb off
usb on
usb a
usb b
The on/off option connects and disconnects, the a/b option
switches between PHYs. You can see the state change on the
console, or by running dmesg on the host.
Change-Id: I4c77e9c586ce197dc99b0b50af7396c253a1a377
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/337706
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions