summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-07-09 14:16:28 -0600
committerCommit Bot <commit-bot@chromium.org>2021-07-10 17:36:33 +0000
commite8f2e4639f3d7b3a1ec71ef69ff151c608f8cc90 (patch)
tree1e5773fdff24eac643b41e08c28e04821fa03edf /include/config.h
parent70450d035a077efc0b2d33a29f33a186ed6cf830 (diff)
downloadchrome-ec-e8f2e4639f3d7b3a1ec71ef69ff151c608f8cc90.tar.gz
syv682x: Fix name for option to disable CC passthrough
Change the name to disable CC passthrough on the SVY682x PPC from CONFIG_SYV682X_NO_CC to CONFIG_USBC_PPC_SYV682X_NO_CC to match the naming convention of other PPC options. This also corrects a non-fatal error in the firmware-eq CQ about a new ad-hoc EC config option. BUG=b:193195946 BRANCH=none TEST=zmake testall TEST=make buildall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I66abcdddb7735f210fa25ed7c8b5760d8d626026 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3015866 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Yuval Peress <peress@chromium.org> Commit-Queue: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h
index 9356e307c0..6388c27eed 100644
--- a/include/config.h
+++ b/include/config.h
@@ -4667,7 +4667,7 @@
#define CONFIG_SYV682X_HV_ILIM SYV682X_HV_ILIM_3_30
/* SYV682 does not pass through CC, instead it bypasses to the TCPC */
-#undef CONFIG_SYV682X_NO_CC
+#undef CONFIG_USBC_PPC_SYV682X_NO_CC
/* Define to enable SYV682X VBUS smart discharge. */
#undef CONFIG_USBC_PPC_SYV682X_SMART_DISCHARGE
@@ -5628,7 +5628,8 @@
#if defined(CONFIG_USBC_PPC_SYV682X)
#define CONFIG_USBC_PPC_POLARITY
#define CONFIG_USBC_PPC_VCONN
-#if !defined(CONFIG_USB_PD_TCPM_ITE_ON_CHIP) && !defined(CONFIG_SYV682X_NO_CC)
+#if !defined(CONFIG_USB_PD_TCPM_ITE_ON_CHIP) && \
+ !defined(CONFIG_USBC_PPC_SYV682X_NO_CC)
#undef CONFIG_USB_PD_TCPC_VCONN
#endif
#endif