]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
bootstage: Add some missing dummy functions
authorSimon Glass <simon.glass@canonical.com>
Fri, 6 Mar 2026 02:36:12 +0000 (19:36 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 18 Mar 2026 19:17:34 +0000 (13:17 -0600)
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@canonical.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/bootstage.h

index 528d0ca061428177adaf94678d4d4e6df674519d..62fb99110f01c4a463ba517fae9d0136632a749f 100644 (file)
@@ -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 */