mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
Add new bootstage step for the main loop
Mark when we get to the main loop. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
94740e4739
commit
01433d6001
|
@ -376,6 +376,8 @@ void main_loop (void)
|
||||||
char bcs_set[16];
|
char bcs_set[16];
|
||||||
#endif /* CONFIG_BOOTCOUNT_LIMIT */
|
#endif /* CONFIG_BOOTCOUNT_LIMIT */
|
||||||
|
|
||||||
|
bootstage_mark_name(BOOTSTAGE_ID_MAIN_LOOP, "main_loop");
|
||||||
|
|
||||||
#ifdef CONFIG_BOOTCOUNT_LIMIT
|
#ifdef CONFIG_BOOTCOUNT_LIMIT
|
||||||
bootcount = bootcount_load();
|
bootcount = bootcount_load();
|
||||||
bootcount++;
|
bootcount++;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user