diff options
author | Mary Ruthven <mruthven@chromium.org> | 2016-07-15 11:06:07 -0700 |
---|---|---|
committer | Mary Ruthven <mruthven@chromium.org> | 2016-07-15 23:50:01 +0000 |
commit | 13518652d27ce739d9af71d441e41765c9851941 (patch) | |
tree | 23826a9a2cc44a453d285688d74830c90d69eb1e /chip/g | |
parent | 41f872ed53be4bc33dd1127c33057d884f2fd6c2 (diff) | |
download | chrome-ec-13518652d27ce739d9af71d441e41765c9851941.tar.gz |
g: don't default to ccd
RDD is working reliably and defaulting to CCD makes it difficult to
display port functionality.
BUG=chrome-os-partner:52281
BRANCH=none
TEST=manual
run 'reboot ap-off' on the EC. Plug in a unreworked suzyq and
verify 'lsusb | grep 5014' doesn't show any devices
run 'powerbtn' on the EC and verify 'lsusb | grep 5014' now
shows a device.
Check that this works on gru, kevin, and reef.
Change-Id: If4a9fc2f8f874e602c28f8e397c9bf8ea6184b59
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/360914
Reviewed-by: Bill Richardson <wfrichar@google.com>
Diffstat (limited to 'chip/g')
-rw-r--r-- | chip/g/rdd.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chip/g/rdd.c b/chip/g/rdd.c index a3c9758e54..b2a7c8d9bc 100644 --- a/chip/g/rdd.c +++ b/chip/g/rdd.c @@ -53,11 +53,8 @@ void rdd_init(void) debug_detect = GREAD(RDD, PROG_DEBUG_STATE_MAP); - /* - * Unitl the system is robust enough always start with the phy facing - * the USB-C connector. - */ - rdd_attached(); + /* Initialize the detached debug state */ + rdd_detached(); /* Make sure the interrupt fires next time debug cable is connected. */ GWRITE(RDD, PROG_DEBUG_STATE_MAP, debug_detect); |