]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootcount: Make bootcount magic configurable
authorMarek Vasut <marex@denx.de>
Wed, 10 Oct 2018 22:13:54 +0000 (00:13 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 19 Oct 2018 18:16:43 +0000 (14:16 -0400)
commit758694ff076255115b6cd936b13108db3773ee57
tree1971435494cc09e1c1e1f481d41872c569d76343
parent0533fb8b3f81051a5d18c6438b3f8fbb4bc6c84d
bootcount: Make bootcount magic configurable

Add new Kconfig option, SYS_BOOTCOUNT_MAGIC, to select the boot
counter magic word. This can be useful ie. in case the entire
boot counter register is not usable.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsulko.com>
drivers/bootcount/Kconfig
drivers/bootcount/bootcount.c
drivers/bootcount/bootcount_at91.c
drivers/bootcount/bootcount_davinci.c
drivers/bootcount/bootcount_ram.c
include/common.h