sim: Remove copy_done check from revert_with_fails test
In case of multi image boot this check fails, because copy_done flag set per images when an image swap has finished. When second image update is interrupted then copy_done flag already has set for first image. Change-Id: Ic97dd5e4c5cdb5a5a94971f3ca84bfe0d7583dd4 Signed-off-by: Tamas Ban <tamas.ban@arm.com> Signed-off-by: David Vincze <david.vincze@arm.com>
This commit is contained in:
parent
e32483f10f
commit
0c9266f66a
|
@ -828,11 +828,6 @@ impl Images {
|
|||
fails += 1;
|
||||
}
|
||||
|
||||
if !self.verify_trailers(&flash, 0, None, None, BOOT_FLAG_UNSET) {
|
||||
warn!("copy_done should be unset");
|
||||
fails += 1;
|
||||
}
|
||||
|
||||
let (x, _) = c::boot_go(&mut flash, &self.areadesc, None, false);
|
||||
if x != 0 {
|
||||
warn!("Should have finished test upgrade");
|
||||
|
|
Loading…
Reference in New Issue