diff options
-rw-r--r-- | zephyr/Kconfig | 1 | ||||
-rw-r--r-- | zephyr/Kconfig.tasks | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig index 171a147f6d..b123f72fda 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -250,6 +250,7 @@ config PLATFORM_EC_PORT80 config PLATFORM_EC_POWER_BUTTON bool "Enable the power button module" + select HAS_TASK_POWERBTN depends on PLATFORM_EC_HOSTCMD help Enable shimming the power button implementation and related diff --git a/zephyr/Kconfig.tasks b/zephyr/Kconfig.tasks index 37d54814ee..8081509f12 100644 --- a/zephyr/Kconfig.tasks +++ b/zephyr/Kconfig.tasks @@ -86,6 +86,7 @@ endif # HAS_TASK_KEYSCAN config HAS_TASK_POWERBTN bool "Power-button task (x86)" + depends on PLATFORM_EC_POWER_BUTTON help This turns on the powerbtn task which handles monitoring the power button. When the application processor (AP) is off (S5 or G3 states), @@ -100,7 +101,7 @@ config TASK_POWERBTN_STACK_SIZE hex "Stack size" default 0x200 help - The stack size of the power button task. + The stack size of the power-button task. endif # HAS_TASK_POWERBTN |