On Tue, Mar 17, 2020 at 05:59:09PM +0100, Frédéric Danis wrote:

> After a successful upgrade, multiple problem during boot sequence may
> trigger the altbootcmd process.
> This patch adds a version and an upgrade_available entries to the
> bootcount file to enable/disable the bootcount check.
> When failing to read the bootcount file it will consider that bootcount is
> enabled, acting as previously, and update the file accordingly.
> 
> The bootcount file is only saved when `upgrade_available` is true, this
> allows to save writes to the filesystem.
> 
> Signed-off-by: Frédéric Danis <[email protected]>
> Reviewed-by: Simon Glass <[email protected]>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to