Skip to content
Commit 11c0611a authored by Tomasz Chyrowicz's avatar Tomasz Chyrowicz Committed by Jamie McCrae
Browse files

bootutil: Unify app_max_size() implementations



Remove redundant application size calculations in favor of
a swap-specific function, implemented inside swap_<type>.c.
In this way, slot sizes use the same restrictions as image validation.

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 avatarTomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
(cherry picked from commit f9db0194)
parent 9abd0685
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment