Kconfig choice allows to set a default, so there is no need for an extra hidden Kconfig option. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
20 lines
465 B
Plaintext
20 lines
465 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
choice PM_POLICY
|
|
prompt "Idle State Power Management Policy"
|
|
default PM_POLICY_RESIDENCY
|
|
help
|
|
Select the idle state power management policy.
|
|
|
|
config PM_POLICY_RESIDENCY
|
|
bool "PM Policy based on CPU residency"
|
|
help
|
|
Select this option for PM policy based on CPU residencies.
|
|
|
|
config PM_POLICY_APP
|
|
bool "Application PM Policy"
|
|
help
|
|
When this option is selected, the application must provide PM policy.
|
|
|
|
endchoice
|