On 27 June 2016 at 16:06, Andreas Fenkart
<andreas.fenk...@digitalstrom.com> wrote:
>
> From: Andreas Fenkart <afenk...@gmail.com>
>
> 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.
>
> Signed-off-by: Andreas Fenkart <andreas.fenk...@digitalstrom.com>
> ---
>  tools/env/fw_env.c | 23 ++++++++++++-----------
>  1 file changed, 12 insertions(+), 11 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to