Patchwork [U-Boot,5/7] Add bootgraph instrumentation for bootm command

login
register
mail settings
Submitter Andrew Murray
Date Aug. 31, 2011, 10:20 p.m.
Message ID <1314829261-13996-6-git-send-email-amurray@theiet.org>
Download mbox | patch
Permalink /patch/112699/
State Superseded
Headers show

Comments

Andrew Murray - Aug. 31, 2011, 10:20 p.m.
Under normal operation the bootm command will never return - this patch adds
additional instrumentation to signal the 'end' of the bootm command such that
this point can be reflected in any bootgraph SVG.

Signed-off-by: Andrew Murray <amurray@theiet.org>
---
 common/cmd_bootm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 1966da4..147e8de 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -697,6 +697,7 @@  int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 
 	arch_preboot_os();
 
+	DO_INITCALL_END(do_bootm);
 	boot_fn(0, argc, argv, &images);
 
 	show_boot_progress (-9);