power: move reboot functionality to os lib

Reboot functionality has nothing to do with PM, so move it out to the
subsys/os folder.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-04-27 11:56:39 +02:00 committed by Anas Nashif
commit f163bdb280
22 changed files with 31 additions and 30 deletions

View file

@ -571,14 +571,6 @@ config BOOTLOADER_BOSSA_ADAFRUIT_UF2
endchoice
config REBOOT
bool "Reboot functionality"
select SYSTEM_CLOCK_DISABLE
help
Enable the sys_reboot() API. Enabling this can drag in other subsystems
needed to perform a "safe" reboot (e.g. SYSTEM_CLOCK_DISABLE, to stop the
system clock before issuing a reset).
config MISRA_SANE
bool "MISRA standards compliance features"
help