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>
This commit is contained in:
Simon Glass
2025-09-10 13:33:32 -06:00
parent c314785548
commit 3b1d056b30

View File

@@ -9,6 +9,7 @@
#include <string.h>
#include <version.h>
#include <asm/global_data.h>
#include <version_string.h>
#include <u-boot-lib.h>
/* Static storage for global data when using simplified API */
@@ -32,5 +33,5 @@ void ulib_uninit(void)
const char *ulib_get_version(void)
{
return PLAIN_VERSION;
return version_string;
}