diff options
author | Andreas Fenkart <andreas.fenkart@digitalstrom.com> | 2016-08-17 23:41:53 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-08-20 14:03:26 -0400 |
commit | 490365c38f869ecebda701df2c060ba3a9e628d3 (patch) | |
tree | fe39074274fee8059539cb079dbdd0bc08a27ba5 /common/lynxkdi.c | |
parent | c359ae5e8b461113c51ebbf3e587c4c362bff2e2 (diff) | |
download | u-boot-imx-490365c38f869ecebda701df2c060ba3a9e628d3.zip u-boot-imx-490365c38f869ecebda701df2c060ba3a9e628d3.tar.gz u-boot-imx-490365c38f869ecebda701df2c060ba3a9e628d3.tar.bz2 |
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: Simon Glass <sjg@chromium.org>
Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/lynxkdi.c')
0 files changed, 0 insertions, 0 deletions