Skip to content
Commit dd6a84e3 authored by David Vincze's avatar David Vincze Committed by Dávid Vincze
Browse files

boot: Check shared area more carefully before init



When the shared data area is not exclusively used by MCUboot, but also
by other boot stages it is inappropriate to initialize (erase) the
shared area based on a global variable. It must check the magic value
at the beginning of the area plus it should sanity-check other
available values for a case when memory garbage matches the magic
value.

Change-Id: I3a4552ad2863a61d81de9374ef6302ae0609f7bf
Signed-off-by: default avatarDavid Vincze <david.vincze@arm.com>
parent 2a22bcc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment