[PATCH 04/10] bootstage: Add some missing dummy functions
Simon Glass
sjg at chromium.org
Wed Jan 7 01:31:21 CET 2026
From: Simon Glass <sjg at chromium.org>
Neither bootstage_fdt_add_report() nor bootstage_report() has a dummy
double for when bootstage is disabled. Add them.
Signed-off-by: Simon Glass <sjg at chromium.org>
Signed-off-by: Simon Glass <simon.glass at canonical.com>
---
include/bootstage.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/bootstage.h b/include/bootstage.h
index 528d0ca0614..62fb99110f0 100644
--- a/include/bootstage.h
+++ b/include/bootstage.h
@@ -435,6 +435,14 @@ static inline uint32_t bootstage_accum(enum bootstage_id id)
return 0;
}
+static inline void bootstage_report(void)
+{
+}
+
+static inline void bootstage_fdt_add_report(void)
+{
+}
+
static inline int bootstage_stash(void *base, int size)
{
return 0; /* Pretend to succeed */
--
2.43.0
More information about the U-Boot
mailing list