
9 Jul
2016
9 Jul
'16
4:39 p.m.
On 27 June 2016 at 16:06, Andreas Fenkart andreas.fenkart@digitalstrom.com wrote:
From: Andreas Fenkart afenkart@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.fenkart@digitalstrom.com
tools/env/fw_env.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org