]> git.baikalelectronics.ru Git - uboot.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)
commit8dd2169bde43623589d2fe0986fdec8d183a9a49
tree1971435494cc09e1c1e1f481d41872c569d76343
parent2eb7ba8ec6809b75f5b1c23898d3cfbd70eced8b
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