Skip to content
Commit 68a4c962 authored by Ofir Shemesh's avatar Ofir Shemesh Committed by Dominik Ermel
Browse files

boot: bootutil: avoid full erase on BOOT_MAGIC_BAD in boot_set_next



Previously, boot_set_next() would perform a full slot erase when
BOOT_MAGIC_BAD was detected. This is no longer done, as the
decision on how to handle a corrupted image should be left to user code.

Signed-off-by: default avatarOfir Shemesh <ofirshemesh777@gmail.com>
parent 547ac602
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment