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

zephyr: Fix TLV area was included in trailer size when rounding up



In order to determine the maximum image size, the size of the trailer is
computed. When using swap-move or swap-offset, this trailer size has to
be rounded up to the next multiple of the sector size. However, the
current logic was rouding up the sum of the trailer size and the TLV
area size, instead of only the trailer size. This commit fixes the
issue.

Signed-off-by: default avatarThomas Altenbach <thomas.altenbach@legrand.com>
parent 6cbea0a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment