[PATCH 0/9] exports overhaul
Tom Rini
trini at konsulko.com
Sat Sep 27 00:33:01 CEST 2025
On Fri, 19 Sep 2025 12:09:53 +0200, Rasmus Villemoes wrote:
> This all started from me wondering "why does this standalone app end
> up being so huge"? Oh, it essentially links in its own standard C
> library to get strlen() and snprintf(). Which then led to asking "why
> don't we export all those standard C functions when we have them
> anyway?".
>
> CI has chewed on these and seem happy - it was CI which told me about
> the necessity of [1/9]: https://github.com/u-boot/u-boot/pull/813
>
> [...]
Now, it's important to note that this does increase the size of the API option
because it adds more functionality there. Some size constrained platforms may
wish to disable API support altogther and gain more space savings.
Applied to u-boot/next, thanks!
[1/9] malloc.h: be a bit more consistent with macro definitions
commit: e54bf98c3afc6dc6e6ce9496c217cb1c660aac4d
[2/9] _exports.h: drop creating dummy i2c entries and fixup config dependency
commit: 0933358163a3c0ef13577853194769504cfb39ea
[3/9] _exports.h: simplify condition for including spi functions
commit: 475a72f6471194633fd85a813547bebe846611e0
[4/9] _exports.h: drop the last dummy entries
commit: eb178c849c25024225941db79c1c3b9681a46a80
[5/9] exports.c: drop unused dummy function
commit: a78941bc7ff72ab3b67197d53216306429e6a831
[6/9] exports.h: make sure declarations are in sync with the actual exports
commit: bdbaaee65c69eebe1ee47296fa2fb12a4677697c
[7/9] _exports.h: reorganize a bit
commit: 2ef6c17f7f46a908e99e24de53d2c153dc1972ab
[8/9] _exports.h: export standard memory/string handling functions
commit: d95706158203db0b2281e134e8dfbad87e3d668c
[9/9] exports.h: bump XF_VERSION
commit: 07588f4ad9b80e73726fd7ecb8e17e21785322a0
--
Tom
More information about the U-Boot
mailing list