Skip to content

Commit

Permalink
doc: design: fix the memory-size-effective slot size description
Browse files Browse the repository at this point in the history
Fixes the memory-size-effective slot layout description for the swap move mode.
Adds information about the additional swap status area size.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
  • Loading branch information
butok committed Oct 21, 2024
1 parent 33de65c commit af9dee3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,10 @@ The algorithm works as follows:

This algorithm is designed so that the higher sector of the primary slot is
used only for allowing sectors to move up. Therefore the most
memory-size-effective slot layout is when the primary slot is exactly one sector
larger than the secondary slot, although same-sized slots are allowed as well.
memory-size-effective slot layout is when the primary slot is larger than
the secondary slot by exactly one sector plus the size of the swap status area,
rounded up to the total size of the sectors it occupies,
although same-sized slots are allowed as well.
The algorithm is limited to support sectors of the same
sector layout. All slot's sectors should be of the same size.

Expand Down

0 comments on commit af9dee3

Please sign in to comment.