Skip to content
Snippets Groups Projects
Commit 490365c3 authored by Andreas Fenkart's avatar Andreas Fenkart Committed by Tom Rini
Browse files

tools/env: return with error if redundant environments have unequal size


For double buffering to work, the target buffer must always be big
enough to hold all data. This can only be ensured if buffers are of
equal size, otherwise one must be smaller and we risk data loss
when copying from the bigger to the smaller buffer.

Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarAndreas Fenkart <andreas.fenkart@digitalstrom.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent c359ae5e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment