diff options
| author | Rasmus Villemoes <[email protected]> | 2025-09-19 12:10:02 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-09-26 11:55:13 -0600 |
| commit | 07588f4ad9b80e73726fd7ecb8e17e21785322a0 (patch) | |
| tree | 62933f473350511fee5a8d86cbf1e2e66f42f460 /include | |
| parent | d95706158203db0b2281e134e8dfbad87e3d668c (diff) | |
exports.h: bump XF_VERSION
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/exports.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exports.h b/include/exports.h index bcf170dca87..12abb35643e 100644 --- a/include/exports.h +++ b/include/exports.h @@ -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; |
