summaryrefslogtreecommitdiff
path: root/include/case_closed_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/case_closed_debug.h')
-rw-r--r--include/case_closed_debug.h31
1 files changed, 3 insertions, 28 deletions
diff --git a/include/case_closed_debug.h b/include/case_closed_debug.h
index ed2f13d099..6a8ce14ffc 100644
--- a/include/case_closed_debug.h
+++ b/include/case_closed_debug.h
@@ -7,34 +7,9 @@
#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.
+/**
+ * Return non-zero if the CCD external interface is enabled.
*/
-void ccd_set_mode(enum ccd_mode new_mode);
+int ccd_ext_is_enabled(void);
-/* Initialize the PHY based on CCD state */
-void ccd_phy_init(int enable_ccd);
#endif /* __CROS_EC_CASE_CLOSED_DEBUG_H */