diff options
author | Frédéric Danis <frederic.danis@collabora.com> | 2020-03-17 19:59:09 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-24 17:10:00 +0300 |
commit | df928f8549ab4470b45bdf3ca2a1b45c9ffd4317 (patch) | |
tree | 58fda0e7dd1d9591f2bd415aed652a9833bd526f /env/Kconfig | |
parent | 080019b86c997a9b7e13bc7b8f476fbf9a0e5f3c (diff) | |
download | u-boot-df928f8549ab4470b45bdf3ca2a1b45c9ffd4317.tar.xz |
bootcount_ext: Add flag to enable/disable bootcount
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 <frederic.danis@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env/Kconfig')
0 files changed, 0 insertions, 0 deletions