5 Commits

Author SHA1 Message Date
Simon Glass
d798b2e9ef sandbox: Move ulib_init_with_data() declaration to init.h
To avoid needing an #ifdef in the C code, move this sandbox-specific
declaration to the common init.h header.

Update ulib.c to include init.h to avoid warnings. Fix the ordering
while we are here.

Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-11-12 06:12:02 -07:00
Simon Glass
3b1d056b30 ulib: Return the full version with ulib_get_version()
Provide the entire version string so it is possible to see the date of
the build.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-11 15:19:22 -06:00
Simon Glass
278e98baaf ulib: Provide a symbol-rename file
Add a file which lists various symbols to rename when building the
U-Boot library. For now it contains printf() and related functions, but
more can be added later, as needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-08 13:09:58 -06:00
Simon Glass
a5fc8d6989 ulib: Use the correct copyright message
Canonical should be written with the 'Ltd.' suffix, so add this to a few
files that need it.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-08 13:09:58 -06:00
Simon Glass
4c0d9d2959 ulib: Move ulib into its own directory
Before adding more files, create a new lib/ulib directory and put the
only existing file in there.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-08 12:16:38 -06:00