]> git.baikalelectronics.ru Git - uboot.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)
commit1b00a31c8ec4c4cd7d871c540371b52a29fec941
tree83a1ff0b1e1fa0a6c7355a9a3566b66a7385a239
parent41e1a2e3f8d920428a21957f52b5e8201af53558
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