diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2018-07-21 20:25:32 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-08-17 13:03:59 -0400 |
commit | c9ad6bc23543fbfa9735118b93b5f4741ab0ad6f (patch) | |
tree | 9c30be3b73acb978bd67921b29d8ac9329541f7f /drivers | |
parent | d7869b2183d2b786e5410b97a5a6b2e630e7825e (diff) | |
download | u-boot-c9ad6bc23543fbfa9735118b93b5f4741ab0ad6f.tar.gz |
Add BOOTCOUNT_BOOTLIMIT to set reboot limit
Add ability to set environment bootlimit from Kconfig
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/bootcount/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig index d335ed14b9..9a0bd516d9 100644 --- a/drivers/bootcount/Kconfig +++ b/drivers/bootcount/Kconfig @@ -72,6 +72,14 @@ config BOOTCOUNT_AT91 endchoice +config BOOTCOUNT_BOOTLIMIT + int "Maximum number of reboot cycles allowed" + default 0 + help + Set the Maximum number of reboot cycles allowed without the boot + counter being cleared. + If set to 0 do not set a boot limit in the environment. + config BOOTCOUNT_ALEN int "I2C address length" default 1 |