aboutsummaryrefslogtreecommitdiff
path: root/common/bootstage.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-08-22 12:41:07 -0400
committerTom Rini <trini@konsulko.com>2022-08-22 12:41:07 -0400
commit850ac7ceb75d2f86f0feae48ee77ee663dcd29d5 (patch)
tree5d70681ddd31ad0cb69ad7900a9956aaae8aba51 /common/bootstage.c
parent61e887fb9cbb6e1d64c2383a865f79ed3570bcf8 (diff)
parentcd15b640b0b8d5a7ba5f1c0587e4f9c767e2d8fb (diff)
Merge tag 'dm-pull-20aug22' of https://source.denx.de/u-boot/custodians/u-boot-dm
binman fixes for various things binman clean-up of compression and addition of utilities
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 0fd33be97e..326c40f156 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());
}