Skip to content

Commit 7ee34ec

Browse files
committed
[nrf noup] boot: zephyr: remove nonsecure ram cleanup
This leads to stack corruption. Signed-off-by: Mateusz Michalek <mateusz.michalek@nordicsemi.no>
1 parent c72ed15 commit 7ee34ec

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

boot/zephyr/main.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,6 @@ static void do_boot(struct boot_rsp *rsp)
224224
#if CONFIG_MCUBOOT_NRF_CLEANUP_PERIPHERAL
225225
nrf_cleanup_peripheral();
226226
#endif
227-
#if CONFIG_MCUBOOT_NRF_CLEANUP_NONSECURE_RAM && defined(PM_SRAM_NONSECURE_NAME)
228-
nrf_cleanup_ns_ram();
229-
#endif
230227
#if CONFIG_MCUBOOT_CLEANUP_ARM_CORE
231228
cleanup_arm_nvic(); /* cleanup NVIC registers */
232229

0 commit comments

Comments
 (0)