soc: adi: max32: Add dependency to idle cpu hook
To simplify usage add dependecy to MAX32_ON_ENTER_CPU_IDLE_HOOK If CONFIG_PM not defined set to to y as current, If CONFIG_PM defined not set it If user set CONFIG_PM not need to disable MAX32_ON_ENTER_CPU_IDLE_HOOK anymore Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
This commit is contained in:
parent
9b7927f2a3
commit
4e858066bc
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ if SOC_FAMILY_MAX32
|
|||
|
||||
config MAX32_ON_ENTER_CPU_IDLE_HOOK
|
||||
bool "CPU idle hook enable"
|
||||
default y
|
||||
default y if !PM
|
||||
imply ARM_ON_ENTER_CPU_IDLE_HOOK
|
||||
help
|
||||
Enables a hook (z_arm_on_enter_cpu_idle()) that is called when
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue