diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2018-05-12 08:49:47 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-24 00:30:05 +0300 |
commit | b11ed7d602a48021d8ab96518ad80996d2b86077 (patch) | |
tree | 978f584d35a10d31c0776e6d9cbb080557242c31 /cmd/Kconfig | |
parent | c4d7b7a6b8571030c5109e8cb75a85756156711e (diff) | |
download | u-boot-b11ed7d602a48021d8ab96518ad80996d2b86077.tar.xz |
bootcount: Add bootcount command
Add a command to manipulate the bootcounter. This is useful if you can
run device recovery from inside U-Boot and need to reset the bootcounter
after executing that process as part of altbootcmd.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 036bad8a36..cffc3afc45 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1229,6 +1229,13 @@ config CMD_BMP the image into RAM, then using this command to look at it or display it. +config CMD_BOOTCOUNT + bool "bootcount" + depends on BOOTCOUNT_LIMIT + help + Enable the bootcount command, which allows interrogation and + reset of the bootcounter. + config CMD_BSP bool "Enable board-specific commands" help |