]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Add new bootstage step for the main loop
authorSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2012 14:46:28 +0000 (14:46 +0000)
committerTom Rini <trini@ti.com>
Tue, 11 Dec 2012 20:17:32 +0000 (13:17 -0700)
Mark when we get to the main loop.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/main.c

index 5362781f18700ee7e98547e07a5f673635b52666..b145f8556586c27c4e150396d1bd5ddbc19f60e0 100644 (file)
@@ -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++;