summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.tasks
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.tasks')
-rw-r--r--zephyr/Kconfig.tasks30
1 files changed, 10 insertions, 20 deletions
diff --git a/zephyr/Kconfig.tasks b/zephyr/Kconfig.tasks
index 1c4e50fa84..da3ae2f95f 100644
--- a/zephyr/Kconfig.tasks
+++ b/zephyr/Kconfig.tasks
@@ -68,26 +68,6 @@ config TASK_CHIPSET_STACK_SIZE
endif # HAS_TASK_CHIPSET
-config HAS_TASK_HOOKS
- bool "Hooks task"
- default y
- help
- This required task runs periodic routines connected to the HOOK_TICK
- and HOOK_SECOND events. This task is responsible for running
- deferred routines.
-
-if HAS_TASK_HOOKS
-
-config TASK_HOOKS_STACK_SIZE
- int "Stack size"
- default 1024
- help
- The stack size of the hooks task.
-
- See b/176180736 for checking these stack sizes.
-
-endif # HAS_TASK_HOOKS
-
config HAS_TASK_HOSTCMD
bool
depends on PLATFORM_EC_HOSTCMD
@@ -230,9 +210,16 @@ config HAS_TASK_PD_C3
help
This turns on the PD_C3 task for devices with 4 ports.
+config HAS_TASK_PD_INT_SHARED
+ bool # Selected by PLATFORM_EC_USB_PD_INT_SHARED
+ help
+ This turns on the PD_INT_SHARED task which services PD message
+ interrupts for any port which has a shared IRQ enabled.
+
config HAS_TASK_PD_INT_C0
bool
depends on PLATFORM_EC_USB_POWER_DELIVERY
+ depends on !PLATFORM_EC_USB_PD_PORT_0_SHARED
default y if PLATFORM_EC_USB_PD_PORT_MAX_COUNT > 0
help
This turns on the PD_INT_C0 task which handles servicing of Power
@@ -243,6 +230,7 @@ config HAS_TASK_PD_INT_C0
config HAS_TASK_PD_INT_C1
bool
depends on PLATFORM_EC_USB_POWER_DELIVERY
+ depends on !PLATFORM_EC_USB_PD_PORT_1_SHARED
default y if PLATFORM_EC_USB_PD_PORT_MAX_COUNT > 1
help
This turns on the PD_INT_C1 task for devices with >=2 ports.
@@ -250,6 +238,7 @@ config HAS_TASK_PD_INT_C1
config HAS_TASK_PD_INT_C2
bool
depends on PLATFORM_EC_USB_POWER_DELIVERY
+ depends on !PLATFORM_EC_USB_PD_PORT_2_SHARED
default y if PLATFORM_EC_USB_PD_PORT_MAX_COUNT > 2
help
This turns on the PD_INT_C2 task for devices with >=3 ports.
@@ -257,6 +246,7 @@ config HAS_TASK_PD_INT_C2
config HAS_TASK_PD_INT_C3
bool
depends on PLATFORM_EC_USB_POWER_DELIVERY
+ depends on !PLATFORM_EC_USB_PD_PORT_2_SHARED
default y if PLATFORM_EC_USB_PD_PORT_MAX_COUNT > 3
help
This turns on the PD_INT_C3 task for devices with 4 ports.