bootcount: allow to use this feature on TPL
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 11 Dec 2020 18:56:47 +0000 (19:56 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 27 Jan 2021 21:58:57 +0000 (16:58 -0500)
commit4d145f26dd06d9de0c2da3ff2c1f8be1ac9dbd2b
treed60bb651a866621ccf883e1d948e1dbe954c921a
parente9ebc17e59217eed457ae83b3c1eec0f7a86daa7
bootcount: allow to use this feature on TPL

This commit add an option TPL_BOOTCOUNT_LIMIT to
use bootcount on TPL.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/Kconfig
common/spl/spl.c
drivers/Makefile
include/bootcount.h