summaryrefslogtreecommitdiff
path: root/board/cr50
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2016-04-12 11:46:16 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-13 20:10:38 -0700
commitd281308b4897ebd8cee38542bf690e4dee53e650 (patch)
treed86c9db1da9881d4082e40611a15b8386e60837c /board/cr50
parent0374c599afdc9c13c22b4842266eade8d1afaf83 (diff)
downloadchrome-ec-d281308b4897ebd8cee38542bf690e4dee53e650.tar.gz
cr50: Detect debug cable and switch the PHY
This adds support for RD Detection on cr50. It can be used to detect a debug device and signal the controller to switch from the AP PHY to the to CCD PHY. When RDCC1 and 2 no longer detect the debug device, then the controller switches back to using the USB to AP PHY. BUG=chrome-os-partner:50700 BRANCH=none TEST=change the value on RDCC1 and RDCC1 and check that the usb controller connects to the right PHY. Change-Id: Ice01a45a31fe1932945f89df2e3b851f4d287a17 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/338454 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'board/cr50')
-rw-r--r--board/cr50/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h
index 3857515714..86942a068a 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -28,6 +28,7 @@
#define CONFIG_USB
#define CONFIG_USB_HID
#define CONFIG_USB_CONSOLE
+#define CONFIG_USB_SELECT_PHY
#define CONFIG_STREAM_USART
#define CONFIG_STREAM_USB