Skip to content
Commit a277cf03 authored by Thomas Altenbach's avatar Thomas Altenbach Committed by Jamie McCrae
Browse files

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.

Note: This PR has been modified from the upstream commit due to
a merge failure from other changes that are not being brought into
Zephyr 3.7

Signed-off-by: default avatarThomas Altenbach <thomas.altenbach@legrand.com>
(cherry picked from commit d5d3359e)
parent ac0ac75e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment