bootcount: spl: Extend SPL to support bootcount incrementation
authorLukasz Majewski <lukma@denx.de>
Wed, 2 May 2018 14:10:54 +0000 (16:10 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 11 May 2018 00:38:32 +0000 (20:38 -0400)
commita8be2494632894669f0b78391b8c1b4a82877757
tree9db67027e3ff86fc3b8560115d4fb247cfde24dd
parentbc8c440fa48eb9c514829da785271a95604edbcc
bootcount: spl: Extend SPL to support bootcount incrementation

This patch adds support for incrementation of the bootcount in SPL.
Such feature is necessary when we do want to use this feature with
'falcon' boot mode (which loads OS directly in SPL).

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/spl/spl.c