Commit 454c033
bootutil: swap-scratch: Fix conflicts after support of devices w/o erase
Before the PR #2206 fixing issues in the swap-scratch logic when the
trailer is larger than the last sector was merged, the PR #2114 was
reverted (see #2211). This changes made by #2211 were then reapplied
(see #2216) after #2206 was merged, leading to some conflicts: a call to
swap_erase_trailer_sectors was moved by #2206 but the old call to that
function was added back by #2216 and a new call to
swap_erase_trailer_sectors was added by #2206 but not converted to a
call to swap_scramble_trailer_sectors by #2216.
Signed-off-by: Thomas Altenbach <thomas.altenbach@legrand.com>1 parent f2b076c commit 454c033
1 file changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
| 668 | + | |
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
| |||
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | 694 | | |
703 | 695 | | |
704 | 696 | | |
| |||
713 | 705 | | |
714 | 706 | | |
715 | 707 | | |
716 | | - | |
| 708 | + | |
717 | 709 | | |
718 | 710 | | |
719 | 711 | | |
| |||
0 commit comments