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>
This commit is contained in:
committed by
Tom Rini
parent
e9ebc17e59
commit
4d145f26dd
+3
-1
@@ -837,7 +837,9 @@ ulong spl_relocate_stack_gd(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(CONFIG_BOOTCOUNT_LIMIT) && !defined(CONFIG_SPL_BOOTCOUNT_LIMIT)
|
||||
#if defined(CONFIG_BOOTCOUNT_LIMIT) && \
|
||||
((!defined(CONFIG_TPL_BUILD) && !defined(CONFIG_SPL_BOOTCOUNT_LIMIT)) || \
|
||||
(defined(CONFIG_TPL_BUILD) && !defined(CONFIG_TPL_BOOTCOUNT_LIMIT)))
|
||||
void bootcount_store(ulong a)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user