pm: drop HAS_NO_PM
Remove HAS_NO_PM option, in preparation for a new HAS_PM option (inverted logic). Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
660c5f5c98
commit
26bf349ab1
3 changed files with 2 additions and 11 deletions
|
@ -29,7 +29,7 @@ config ARCH_HAS_CUSTOM_BUSY_WAIT
|
||||||
default y if !QEMU_TARGET
|
default y if !QEMU_TARGET
|
||||||
|
|
||||||
config PM
|
config PM
|
||||||
default y if SYS_CLOCK_EXISTS && !HAS_NO_PM && MULTITHREADING
|
default y if SYS_CLOCK_EXISTS && MULTITHREADING
|
||||||
|
|
||||||
config BUILD_OUTPUT_HEX
|
config BUILD_OUTPUT_HEX
|
||||||
default y
|
default y
|
||||||
|
|
|
@ -12,7 +12,6 @@ config SOC_NRF5340_CPUAPP
|
||||||
|
|
||||||
config SOC_NRF5340_CPUNET
|
config SOC_NRF5340_CPUNET
|
||||||
bool
|
bool
|
||||||
select HAS_NO_PM
|
|
||||||
select ARM_ON_EXIT_CPU_IDLE
|
select ARM_ON_EXIT_CPU_IDLE
|
||||||
imply SOC_NRF53_ANOMALY_160_WORKAROUND_NEEDED
|
imply SOC_NRF53_ANOMALY_160_WORKAROUND_NEEDED
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ menu "Power Management"
|
||||||
|
|
||||||
menuconfig PM
|
menuconfig PM
|
||||||
bool "System Power Management"
|
bool "System Power Management"
|
||||||
depends on SYS_CLOCK_EXISTS && !HAS_NO_PM
|
depends on SYS_CLOCK_EXISTS
|
||||||
help
|
help
|
||||||
This option enables the board to implement extra power management
|
This option enables the board to implement extra power management
|
||||||
policies whenever the kernel becomes idle. The kernel informs the
|
policies whenever the kernel becomes idle. The kernel informs the
|
||||||
|
@ -54,14 +54,6 @@ endchoice
|
||||||
|
|
||||||
endif # PM
|
endif # PM
|
||||||
|
|
||||||
config HAS_NO_PM
|
|
||||||
bool
|
|
||||||
help
|
|
||||||
This option blocks selection of PM. It can be selected in SOC
|
|
||||||
targets where system power management is not supported, for example
|
|
||||||
on support core of a multi-core device where SoC power management is
|
|
||||||
the responsibility of a different core.
|
|
||||||
|
|
||||||
config PM_DEVICE
|
config PM_DEVICE
|
||||||
bool "Device Power Management"
|
bool "Device Power Management"
|
||||||
help
|
help
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue