summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2016-07-11 15:25:02 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-11 21:28:06 -0700
commit2df0218c18d2756c06c67dd834b1f682baf8ccb6 (patch)
treee14b2707e728acd3df84ba7549a5478b68575f89 /common
parent36eb325519a46bddaa1a7567c6224fd0e28fd1c4 (diff)
downloadchrome-ec-2df0218c18d2756c06c67dd834b1f682baf8ccb6.tar.gz
cr50: Dont switch from PHY 1 to 0 when disabling CCD
The AP no longer uses PHY0 to to interact with Cr50. Cr50 only uses PHY1 so dont switch the PHY when disabling CCD just release the usb. BUG=none BRANCH=none TEST=After running 'ccd disable' the command 'usb' still returns PHY B, but 'lsusb | grep 5014' on the host doesn't show any devices. When CCD is enabled 'lsusb | grep 5014' shows a device on the host. Change-Id: Icec0acc7a0d00f7eb56c6feef3ff4cf5a3f99735 Reviewed-on: https://chromium-review.googlesource.com/359931 Commit-Ready: Mary Ruthven <mruthven@chromium.org> Tested-by: Mary Ruthven <mruthven@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/case_closed_debug.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/case_closed_debug.c b/common/case_closed_debug.c
index 53b85b1632..0b81547ca4 100644
--- a/common/case_closed_debug.c
+++ b/common/case_closed_debug.c
@@ -51,13 +51,6 @@ void ccd_set_mode(enum ccd_mode new_mode)
usb_spi_enable(&ccd_usb_spi, new_mode == CCD_MODE_ENABLED);
#endif
-#if defined(CONFIG_USB_SELECT_PHY)
- /*
- * TODO(crosbug.com/p/52281): when rdd is working reliably on cr50, make
- * a call to select the PHY here.
- */
-#else
if (new_mode != CCD_MODE_DISABLED)
-#endif
usb_init();
}