[U-Boot] [U-Boot, v2, 1/4] tools/env: return with error if redundant environments have unequal size

Tom Rini trini at konsulko.com
Sat Jul 23 02:10:08 CEST 2016


On Sat, Jul 16, 2016 at 05:06:12PM +0200, Andreas Fenkart wrote:

> 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 at chromium.org>
> Signed-off-by: Andreas Fenkart <andreas.fenkart at digitalstrom.com>

With https://patchwork.ozlabs.org/patch/648142/ applied this needs to be
reworked, and may not be applicable now, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160722/a5375252/attachment.sig>


More information about the U-Boot mailing list