summaryrefslogtreecommitdiff
path: root/drivers/bootcount
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2018-02-09 23:53:29 +0100
committerTom Rini <trini@konsulko.com>2018-02-15 07:20:53 -0500
commit04e2cead60616a09ef5f45feae17c0aca0fa8b5f (patch)
treea1a0dcae2d149d764edd0dab14d24013fccd57b1 /drivers/bootcount
parentd1ec9461f2a2b478b3682dfc3f0f72e3fdd104c1 (diff)
Convert CONFIG_SYS_BOOTCOUNT_SINGLEWORD to Kconfig
This converts the following to Kconfig: CONFIG_SYS_BOOTCOUNT_SINGLEWORD Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Alex Kiernan <alex.kiernan@gmail.com> Reviewed-by: Ian Ray <ian.ray@ge.com>
Diffstat (limited to 'drivers/bootcount')
-rw-r--r--drivers/bootcount/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig
index cb6be73d52..d82289f57b 100644
--- a/drivers/bootcount/Kconfig
+++ b/drivers/bootcount/Kconfig
@@ -17,6 +17,12 @@ config BOOTCOUNT_LIMIT
Enable checking for exceeding the boot count limit.
More information: http://www.denx.de/wiki/DULG/UBootBootCountLimit
+config SYS_BOOTCOUNT_SINGLEWORD
+ bool "Use single word to pack boot count and magic value"
+ help
+ This option enables packing boot count magic value and boot count
+ into single word (32 bits).
+
if BOOTCOUNT
config BOOTCOUNT_EXT