summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.tasks
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-11-09 13:21:48 -0700
committerCommit Bot <commit-bot@chromium.org>2021-11-10 17:24:53 +0000
commitf58989fd31af1c90931da501c6a9fdb8992f8ea6 (patch)
tree6297ed0e1104b038a4b246be5caeab40da04bf6c /zephyr/Kconfig.tasks
parent83672fd9429c94794e5f60fa59f03fe0afb68f46 (diff)
downloadchrome-ec-f58989fd31af1c90931da501c6a9fdb8992f8ea6.tar.gz
zephyr: remove the HOOKS task
Move the HOOK_TICK and HOOK_SECOND calls into the system work queue. This matches the cros-ec implementation where HOOK_TICK, HOOK_SECOND, and deferred routines are run from the same task. BUG=none BRANCH=none TEST=zmake testall TEST=Boot zephyr on Herobrine. Verify AP powers up, verify USB-PD charging, and verify LEDs Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: Ife0fe8e1f6a4f17ad49b0cf386029248ffa69570 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3271788 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.tasks')
-rw-r--r--zephyr/Kconfig.tasks20
1 files changed, 0 insertions, 20 deletions
diff --git a/zephyr/Kconfig.tasks b/zephyr/Kconfig.tasks
index 457a911d18..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