[PATCH v3 03/17] bootstage: Add some missing dummy functions
Simon Glass
sjg at chromium.org
Sat Feb 28 21:19:51 CET 2026
From: Simon Glass <simon.glass at canonical.com>
Neither bootstage_fdt_add_report() nor bootstage_report() has a dummy
double for when bootstage is disabled. Add them.
Signed-off-by: Simon Glass <simon.glass at canonical.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
---
Changes in v3:
- Move earlier in the series so bootm_final() can use bootstage from the start
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