diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2018-05-12 05:49:47 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-23 17:30:05 -0400 |
commit | b11ed7d602a48021d8ab96518ad80996d2b86077 (patch) | |
tree | 978f584d35a10d31c0776e6d9cbb080557242c31 /cmd/Kconfig | |
parent | c4d7b7a6b8571030c5109e8cb75a85756156711e (diff) | |
download | u-boot-b11ed7d602a48021d8ab96518ad80996d2b86077.zip u-boot-b11ed7d602a48021d8ab96518ad80996d2b86077.tar.gz u-boot-b11ed7d602a48021d8ab96518ad80996d2b86077.tar.bz2 |
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 036bad8..cffc3af 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 |