diff options
author | Scott <scollyer@chromium.org> | 2015-03-04 17:18:27 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-04-09 01:45:38 +0000 |
commit | d98b588c985a6fb537e0ebc7c7e201761f39cbaa (patch) | |
tree | 65ebe350fbe1e0f81209fabcdb9c5224b3e8fa82 /chip/host | |
parent | bd1f20911fcdcd74fa504a53aabc891ff9eeb112 (diff) | |
download | chrome-ec-d98b588c985a6fb537e0ebc7c7e201761f39cbaa.tar.gz |
pd: Modify BIST mode according to ECR#PD2.0.1.0.004
- Changed TX BIST mode so that it transmits for 50 msec instead
of transmitting forever.
- Added console command to initiate TX BIST mode.
- Fixed an issue with circular DMA mode which was causing watchdog.
- Modified RX BIST to account for shorter TX BIST duration.
BUG=chrome-os-partner:36335
TEST=Manual on Samus to Samus, manual on Zinger to Samus
BRANCH=Samus
Signed-off-by: Scott Collyer <scollyer@chromium.org>
Change-Id: I666347de47c81b5b7a1e82c2b99345ff3ebbb7d4
Reviewed-on: https://chromium-review.googlesource.com/256194
Tested-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Trybot-Ready: Alec Berg <alecaberg@chromium.org>
Commit-Queue: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'chip/host')
-rw-r--r-- | chip/host/usb_pd_phy.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chip/host/usb_pd_phy.c b/chip/host/usb_pd_phy.c index 44cba80c06..4f2e7640f0 100644 --- a/chip/host/usb_pd_phy.c +++ b/chip/host/usb_pd_phy.c @@ -230,6 +230,11 @@ void pd_tx_set_circular_mode(int port) /* Not implemented */ } +void pd_tx_clear_circular_mode(int port) +{ + /* Not implemented */ +} + int pd_start_tx(int port, int polarity, int bit_len) { ASSERT(pd_phy[port].hw_init_done); |