aboutsummaryrefslogtreecommitdiff
path: root/common/bootstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/bootstage.c')
-rw-r--r--common/bootstage.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/common/bootstage.c b/common/bootstage.c
index 0fd33be..326c40f 100644
--- a/common/bootstage.c
+++ b/common/bootstage.c
@@ -147,15 +147,9 @@ ulong bootstage_add_record(enum bootstage_id id, const char *name,
return mark;
}
-
-ulong bootstage_mark(enum bootstage_id id)
-{
- return bootstage_add_record(id, NULL, 0, timer_get_boot_us());
-}
-
-ulong bootstage_error(enum bootstage_id id)
+ulong bootstage_error_name(enum bootstage_id id, const char *name)
{
- return bootstage_add_record(id, NULL, BOOTSTAGEF_ERROR,
+ return bootstage_add_record(id, name, BOOTSTAGEF_ERROR,
timer_get_boot_us());
}