From: Tom Rini Date: Fri, 24 Apr 2020 13:09:16 -0400 Subject: [PATCH v2] bootcount_ext: Add flag to enable/disable bootcount In-Reply-To: <20200317165909.12009-1-frederic.danis@collabora.com> References: <20200317165909.12009-1-frederic.danis@collabora.com> Message-ID: <20200424170916.GE4555@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: