summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/config_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/include/config_chip.h')
-rw-r--r--zephyr/shim/include/config_chip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h
index a811b68ccc..d3924e644d 100644
--- a/zephyr/shim/include/config_chip.h
+++ b/zephyr/shim/include/config_chip.h
@@ -1447,6 +1447,7 @@ extern struct jump_data mock_jump_data;
#endif /* CONFIG_PLATFORM_EC_USB_POWER_DELIVERY */
#ifdef CONFIG_PLATFORM_EC_USB_CHARGER
+#ifndef CONFIG_PLATFORM_EC_USB_CHARGER_SINGLE_TASK
#define HAS_TASK_USB_CHG_P0 1
#if CONFIG_USB_PD_PORT_MAX_COUNT > 1
@@ -1461,6 +1462,7 @@ extern struct jump_data mock_jump_data;
#define HAS_TASK_USB_CHG_P3 1
#endif /* CONFIG_USB_PD_PORT_MAX_COUNT > 3 */
+#endif /* !PLATFORM_EC_USB_CHARGER_SINGLE_TASK */
#endif /* CONFIG_PLATFORM_EC_USB_CHARGER */
#undef CONFIG_USB_PD_ITE_ACTIVE_PORT_COUNT