power: Remove not used build option

There is no usage of BOOTLOADER_CONTEXT_RESTORE since quark support
was removed.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2021-01-07 16:07:20 -08:00 committed by Anas Nashif
parent 28cf88183a
commit 47e0621bb7
3 changed files with 1 additions and 17 deletions

View file

@ -496,15 +496,6 @@ config BOOTLOADER_BOSSA_ADAFRUIT_UF2
endchoice
config BOOTLOADER_CONTEXT_RESTORE
bool "Boot loader has context restore support"
default y
depends on PM_DEEP_SLEEP_STATES && BOOTLOADER_CONTEXT_RESTORE_SUPPORTED
help
This option signifies that the target has a bootloader
that restores CPU context upon resuming from deep sleep
power state.
config REBOOT
bool "Reboot functionality"
select SYSTEM_CLOCK_DISABLE

View file

@ -476,12 +476,6 @@ config ARCH_HAS_THREAD_LOCAL_STORAGE
config ARCH_HAS_THREAD_ABORT
bool
config BOOTLOADER_CONTEXT_RESTORE_SUPPORTED
bool
help
This option signifies that the target has options of bootloaders
that support context restore upon resume from deep sleep
#
# Hidden CPU family configs
#

View file

@ -154,8 +154,7 @@ done_mpu_regions_reset:
#endif
#endif
#if defined(CONFIG_PM_DEEP_SLEEP_STATES) && \
!defined(CONFIG_BOOTLOADER_CONTEXT_RESTORE)
#if defined(CONFIG_PM_DEEP_SLEEP_STATES)
jl @pm_system_resume_from_deep_sleep
#endif