summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2016-04-15 13:13:35 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-15 21:29:17 -0700
commit910312f8561ec3863f704305fb159a312bdf31e8 (patch)
treed817ae7c680870059e93d1e23f2c7d32578715ec
parent086c44d5ca1fff99471bbb044704c9a174d85807 (diff)
downloadchrome-ec-910312f8561ec3863f704305fb159a312bdf31e8.tar.gz
cr50: Enable RD Detection
When a debug accessory is detected by cr50, the USB controller switches to using the CCD PHY and switches back to the AP PHY when the cable is disconnected. This change also enables controlling the UART TX output for the AP and EC console. BUG=chrome-os-partner:50700 BRANCH=none TEST=Attach suzy Q and verify the PHY is set to B. Detach Suzy Q and check the phy has switched to A. Change-Id: I07f4c4fb7f765788a0914dfc2451a11af8bf0ab2 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/339211 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
-rw-r--r--board/cr50/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h
index 86942a068a..1b2c21b0df 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -24,6 +24,9 @@
/* Go to sleep when nothing else is happening */
#define CONFIG_LOW_POWER_IDLE
+/* Enable debug cable detection */
+#define CONFIG_RDD
+
/* USB configuration */
#define CONFIG_USB
#define CONFIG_USB_HID