File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -364,6 +364,13 @@ config MCUBOOT_CLEANUP_RAM
364
364
help
365
365
Sets contents of memory to 0 before jumping to application.
366
366
367
+ config MCUBOOT_LOOP_AFTER_RAM_CLEANUP
368
+ bool "Loop after RAM cleanup"
369
+ depends on MCUBOOT_CLEANUP_RAM
370
+ help
371
+ Verification option that keeps execution in infinite loop after
372
+ RAM cleanup has been performed.
373
+
367
374
config MBEDTLS_CFG_FILE
368
375
# It might be awkward to define an Mbed TLS header file when TinyCrypt
369
376
# is used, but the fact is that Mbed TLS' ASN1 parse module is used
Original file line number Diff line number Diff line change @@ -249,6 +249,9 @@ static void do_boot(struct boot_rsp *rsp)
249
249
" b clear\n"
250
250
"out:\n"
251
251
" dsb\n"
252
+ #if CONFIG_MCUBOOT_LOOP_AFTER_RAM_CLEANUP
253
+ " b out\n"
254
+ #endif /*CONFIG_MCUBOOT_LOOP_AFTER_RAM_CLEANUP */
252
255
/* jump to reset vector of an app */
253
256
" bx r0\n"
254
257
:
You can’t perform that action at this time.
0 commit comments