Searched hist:"490365 c38f869ecebda701df2c060ba3a9e628d3" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/tools/env/ |
| H A D | fw_env.c | 490365c38f869ecebda701df2c060ba3a9e628d3 Wed Aug 17 21:41:53 UTC 2016 Andreas Fenkart <andreas.fenkart@digitalstrom.com> 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>
|