commit | 819f1e081c527d2d02cdaeec0027384688cf5de0 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@free-electrons.com> | Thu Oct 19 11:36:35 2017 +0200 |
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | Wed Oct 25 10:05:06 2017 +0200 |
tree | 83a1ff0b1e1fa0a6c7355a9a3566b66a7385a239 | |
parent | ce2e44d836dc790deb21707729d89d54d1bb6e7d [diff] |
sunxi: binman: Add U-Boot binary size check The U-Boot binary may trip over its actual allocated size in the storage. In such a case, the environment will not be readable anymore (because corrupted when the new image was flashed), and any attempt at using saveenv to reconstruct the environment will result in a corrupted U-Boot binary. Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>