Commit d5d3359
zephyr: Fix trailer size computation for swap-scratch
When swap-scratch is used, the trailer size doesn't have to be rounded
up to the next multiple of the sector size. Indeed, the trailer only
need to be sector-aligned for swap-move and swap-offset.
Signed-off-by: Thomas Altenbach <thomas.altenbach@legrand.com>1 parent f9e4e52 commit d5d3359
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
681 | | - | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
682 | 685 | | |
683 | 686 | | |
684 | 687 | | |
685 | 688 | | |
686 | 689 | | |
687 | 690 | | |
688 | 691 | | |
689 | | - | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
690 | 696 | | |
691 | 697 | | |
692 | 698 | | |
| |||
0 commit comments