From: Simon Glass Date: Fri, 6 Mar 2026 02:36:12 +0000 (-0700) Subject: bootstage: Add some missing dummy functions X-Git-Tag: v2026.07-rc1~53^2~2^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5cc969caf0ba247d8464af1fd87110e73309e37d;p=thirdparty%2Fu-boot.git bootstage: Add some missing dummy functions Neither bootstage_fdt_add_report() nor bootstage_report() has a dummy double for when bootstage is disabled. Add them. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- 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 */