summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2013-08-05 16:00:36 +0200
committerTom Rini <trini@ti.com>2013-08-15 18:38:36 -0400
commit7f442e36f15789eb4924222f8922c924215d4c6c (patch)
tree1922c13a4ef750a26c6eb5f1584d6bc38cf44e13
parent78056717e3a3216ff136ac8ce7e7355f593856e8 (diff)
downloadu-boot-imx-7f442e36f15789eb4924222f8922c924215d4c6c.zip
u-boot-imx-7f442e36f15789eb4924222f8922c924215d4c6c.tar.gz
u-boot-imx-7f442e36f15789eb4924222f8922c924215d4c6c.tar.bz2
bootstage: get more BOOTSTAGE_ID* in show_boot_progress()
In case CONFIG_BOOTSTAGE is not defined, call from bootstage_mark_name() show_boot_progress(), so get more BOOTSTAGE_ID* ids in show_boot_progress() if CONFIG_BOOTSTAGE is not defined. Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@ti.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Acked-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/bootstage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bootstage.h b/include/bootstage.h
index 25b4e07..87bf906 100644
--- a/include/bootstage.h
+++ b/include/bootstage.h
@@ -353,6 +353,7 @@ static inline ulong bootstage_error(enum bootstage_id id)
static inline ulong bootstage_mark_name(enum bootstage_id id, const char *name)
{
+ show_boot_progress(id);
return 0;
}