]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
exports.h: bump XF_VERSION
authorRasmus Villemoes <ravi@prevas.dk>
Fri, 19 Sep 2025 10:10:02 +0000 (12:10 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 17:55:13 +0000 (11:55 -0600)
There have been quite a few changes to _exports.h since the last
update of XF_VERSION, also before the previous patches in this series.

I doubt the mechanism is actually being used in practice, it is simply
too fragile: Not only does the list of exported functions depend on
.config, so with the same XF_VERSION the jump table entries could have
different offsets. But getting to the jump table itself from gd to
even call the ->get_version() is fragile, since offsetof(gd_t, jt)
can, and does, change. For example, as recently as commit
d9902107027 ("global_data: Remove jump table in SPL").

One really must build one's standalone app against the proper U-Boot
version and config.h. But for good measure, do bump it now.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/exports.h

index bcf170dca87e816bdf9e8247042ef1f174220b94..12abb35643e431cc806e321f6b2e9054cd5be958 100644 (file)
@@ -40,7 +40,7 @@ struct jt_funcs {
 #undef EXPORT_FUNC
 };
 
-#define XF_VERSION     9
+#define XF_VERSION     10
 
 #if defined(CONFIG_X86)
 extern gd_t *global_data;