summaryrefslogtreecommitdiff
path: root/zephyr/shim/include
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/include')
-rw-r--r--zephyr/shim/include/config_chip.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h
index 41c70394f1..ec4db3f146 100644
--- a/zephyr/shim/include/config_chip.h
+++ b/zephyr/shim/include/config_chip.h
@@ -1040,12 +1040,12 @@
#endif
#undef CONFIG_USBC_RETIMER_ANX7451
-#ifdef PLATFORM_EC_USBC_RETIMER_ANX7451
+#ifdef CONFIG_PLATFORM_EC_USBC_RETIMER_ANX7451
#define CONFIG_USBC_RETIMER_ANX7451
#endif
#undef CONFIG_USBC_RETIMER_PS8811
-#ifdef PLATFORM_EC_USBC_RETIMER_PS8811
+#ifdef CONFIG_PLATFORM_EC_USBC_RETIMER_PS8811
#define CONFIG_USBC_RETIMER_PS8811
#endif
@@ -1102,11 +1102,11 @@
#define CONFIG_MKBP_EVENT
#ifdef CONFIG_PLATFORM_EC_MKBP_USE_GPIO
#define CONFIG_MKBP_USE_GPIO
-#elif PLATFORM_EC_MKBP_USE_HOST_EVENT
+#elif defined(CONFIG_PLATFORM_EC_MKBP_USE_HOST_EVENT)
#define CONFIG_MKBP_USE_HOST_EVENT
-#elif PLATFORM_EC_MKBP_USE_GPIO_AND_HOST_EVENT
+#elif defined(CONFIG_PLATFORM_EC_MKBP_USE_GPIO_AND_HOST_EVENT)
#define CONFIG_MKBP_USE_GPIO_AND_HOST_EVENT
-#elif PLATFORM_EC_MKBP_USE_CUSTOM
+#elif defined(CONFIG_PLATFORM_EC_MKBP_USE_CUSTOM)
#define CONFIG_MKBP_USE_CUSTOM
#endif
#endif /* CONFIG_PLATFORM_EC_MKBP_EVENT */
@@ -1486,7 +1486,7 @@
#endif
#undef CONFIG_CMD_CHARGEN
-#ifdef PLATFORM_EC_CONSOLE_CMD_CHARGEN
+#ifdef CONFIG_PLATFORM_EC_CONSOLE_CMD_CHARGEN
#define CONFIG_CMD_CHARGEN
#endif