]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: binman: Add U-Boot binary size check
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 19 Oct 2017 09:36:35 +0000 (11:36 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 25 Oct 2017 08:05:06 +0000 (10:05 +0200)
commit819f1e081c527d2d02cdaeec0027384688cf5de0
tree83a1ff0b1e1fa0a6c7355a9a3566b66a7385a239
parentce2e44d836dc790deb21707729d89d54d1bb6e7d
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>
arch/arm/dts/sunxi-u-boot.dtsi