diff --git a/Kconfig.zephyr b/Kconfig.zephyr index 2f5093bed4d..c71f0fe0316 100644 --- a/Kconfig.zephyr +++ b/Kconfig.zephyr @@ -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 diff --git a/arch/Kconfig b/arch/Kconfig index a95db66f8dc..0e2218d727e 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -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 # diff --git a/arch/arc/core/reset.S b/arch/arc/core/reset.S index 05565266e0b..1cdfb89a868 100644 --- a/arch/arc/core/reset.S +++ b/arch/arc/core/reset.S @@ -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