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:
Tamas Ban 2019-06-12 07:49:07 +02:00 committed by David Brown
parent e32483f10f
commit 0c9266f66a
1 changed files with 0 additions and 5 deletions

View File

@ -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");