chrome_ec: change how using_ccd is determined

servo_v4 may be using servo micro or ccd. In either case the servo
version will be servo_v4_with_servo_micro or servo_v4_with_ccd_cr50.
Check if ccd_cr50 is in the servo version to determine if ccd is being

TEST=run firmware_Cr50Unlock on reef with servo v4 using servo micro

Change-Id: I0444c91fc788393b89b73ad07a137ac44fa6f3c5
Signed-off-by: Mary Ruthven <>
Reviewed-by: Aseda Aboagye <>
diff --git a/server/cros/servo/ b/server/cros/servo/
index 32820de..f5923c7 100644
--- a/server/cros/servo/
+++ b/server/cros/servo/
@@ -406,7 +406,7 @@
     def using_ccd(self):
         """Returns true if the console is being served using CCD"""
-        return self._servo.get_servo_version().startswith('servo_v4')
+        return 'ccd_cr50' in self._servo.get_servo_version()