aboutsummaryrefslogtreecommitdiff
path: root/env/Kconfig
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@collabora.com>2020-03-17 17:59:09 +0100
committerTom Rini <trini@konsulko.com>2020-04-24 10:10:00 -0400
commitdf928f8549ab4470b45bdf3ca2a1b45c9ffd4317 (patch)
tree58fda0e7dd1d9591f2bd415aed652a9833bd526f /env/Kconfig
parent080019b86c997a9b7e13bc7b8f476fbf9a0e5f3c (diff)
downloadu-boot-df928f8549ab4470b45bdf3ca2a1b45c9ffd4317.zip
u-boot-df928f8549ab4470b45bdf3ca2a1b45c9ffd4317.tar.gz
u-boot-df928f8549ab4470b45bdf3ca2a1b45c9ffd4317.tar.bz2
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