summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-05 14:46:28 +0000
committerTom Rini <trini@ti.com>2012-12-11 13:17:32 -0700
commit01433d60016a5aa4b53608f816e1e220f0108546 (patch)
tree93c3d62e28cfcd774d92881e273ffb7f4fe84ae9 /common/main.c
parent94740e473920f5f0c71f949281db8dcb132e27cd (diff)
downloadu-boot-01433d60016a5aa4b53608f816e1e220f0108546.tar.gz
Add new bootstage step for the main loop
Mark when we get to the main loop. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c
index 5362781f18..b145f85565 100644
--- a/common/main.c
+++ b/common/main.c
@@ -376,6 +376,8 @@ void main_loop (void)
char bcs_set[16];
#endif /* CONFIG_BOOTCOUNT_LIMIT */
+ bootstage_mark_name(BOOTSTAGE_ID_MAIN_LOOP, "main_loop");
+
#ifdef CONFIG_BOOTCOUNT_LIMIT
bootcount = bootcount_load();
bootcount++;