diff mbox

[U-Boot,v2,01/23] Add new bootstage step for the main loop

Message ID 1353611587-18186-2-git-send-email-sjg@chromium.org
State Superseded, archived
Headers show

Commit Message

Simon Glass Nov. 22, 2012, 7:12 p.m. UTC
Mark when we get to the main loop.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v2:
- Remove arm: tag from bootstage step patch

 common/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/common/main.c b/common/main.c
index 592ce07..48b2f76 100644
--- a/common/main.c
+++ b/common/main.c
@@ -299,6 +299,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++;