mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-07 05:34:28 +00:00
df928f8549
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> |
||
---|---|---|
.. | ||
bootcount-uclass.c | ||
bootcount.c | ||
bootcount_at91.c | ||
bootcount_davinci.c | ||
bootcount_env.c | ||
bootcount_ext.c | ||
bootcount_i2c.c | ||
bootcount_ram.c | ||
i2c-eeprom.c | ||
Kconfig | ||
Makefile | ||
rtc.c |