summaryrefslogtreecommitdiff
path: root/include/case_closed_debug.h
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2017-10-12 08:21:41 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-10-19 12:56:42 -0700
commit251212fb9dea6d95a8caa43ec9eeb210abfa2df8 (patch)
treea85685d1f78524a104ee0b5f00c97293e96d30e6 /include/case_closed_debug.h
parent7c2c5a9dc3779587f78a7c602cefeb667d210d41 (diff)
downloadchrome-ec-251212fb9dea6d95a8caa43ec9eeb210abfa2df8.tar.gz
pd: Remove ACCESSORY states
According to the USB-C spec, when a debug accessory is identified, we may optionally establish USB PD communication over CC. Some DTS partners (eg. servo_v4) expect us to speak PD, so let's make it so. There is no need for special ACCESSORY states, these do not exist in the PD spec. BRANCH=servo BUG=chromium:737755,b:65837068 TEST=On scarlet, attach servo_v4 and verify scarlet charges. Also verify EC and cr50 consoles are available through servo_v4. Change-Id: I59d1ca50b4766509eccf38562cdf926578138585 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/693294 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/case_closed_debug.h')
-rw-r--r--include/case_closed_debug.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/include/case_closed_debug.h b/include/case_closed_debug.h
index b41532bc5e..6a8ce14ffc 100644
--- a/include/case_closed_debug.h
+++ b/include/case_closed_debug.h
@@ -7,34 +7,6 @@
#ifndef __CROS_EC_CASE_CLOSED_DEBUG_H
#define __CROS_EC_CASE_CLOSED_DEBUG_H
-enum ccd_mode {
- /*
- * The disabled mode tri-states the DP and DN lines.
- */
- CCD_MODE_DISABLED,
-
- /*
- * The partial mode allows some CCD functionality and is to be set
- * when the device is write protected and a CCD cable is detected.
- * This mode gives access to the APs console.
- */
- CCD_MODE_PARTIAL,
-
- /*
- * The fully enabled mode is used in factory and test lab
- * configurations where it is acceptable to be able to reflash the
- * device over CCD.
- */
- CCD_MODE_ENABLED,
-
- CCD_MODE_COUNT,
-};
-
-/*
- * Set current CCD mode, this function is idempotent.
- */
-void ccd_set_mode(enum ccd_mode new_mode);
-
/**
* Return non-zero if the CCD external interface is enabled.
*/