bootcount: Add bootcount command
authorAlex Kiernan <alex.kiernan@gmail.com>
Sat, 12 May 2018 05:49:47 +0000 (05:49 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 23 May 2018 21:30:05 +0000 (17:30 -0400)
commitb11ed7d602a48021d8ab96518ad80996d2b86077
tree978f584d35a10d31c0776e6d9cbb080557242c31
parentc4d7b7a6b8571030c5109e8cb75a85756156711e
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>
cmd/Kconfig
cmd/Makefile
cmd/bootcount.c [new file with mode: 0644]