_exports.h: export standard memory/string handling functions
authorRasmus Villemoes <ravi@prevas.dk>
Fri, 19 Sep 2025 10:10:01 +0000 (12:10 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 17:55:13 +0000 (11:55 -0600)
commitd95706158203db0b2281e134e8dfbad87e3d668c
tree8ae889112abfd841b05d2c35f509e47ed233212d
parent2ef6c17f7f46a908e99e24de53d2c153dc1972ab
_exports.h: export standard memory/string handling functions

The current list of exported functions lacks quite a few bog-standard C
library functions that we might as well expose, since U-Boot certainly
has them implemented anyway. There's no reason a standalone
application should have its own strlen() implementation or link in a
copy from some tiny libc.

For a customer's standalone app, this means it goes from 95K to 10K.
More importantly, we can ditch the custom toolchain including a
newlibc used to build the standalone app and just use the same
toolchain as used to build u-boot itself.

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