[U-Boot] [PATCH v2 3/5] vsprintf.c: add UTF-16 string (%ls) support

Simon Glass
2017-09-12T12:29:04Z

On 9 September 2017 at 04:47, Rob Clark <robdclark@gmail.com> wrote:
> This is convenient for efi_loader which deals a lot with UTF-16. Only
> enabled with CC_SHORT_WCHAR, leaving room to add a UTF-32 version when
> CC_SHORT_WCHAR is not enabled.
>
> Signed-off-by: Rob Clark <robdclark@gmail.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> ---
> examples/api/Makefile | 1 +
> lib/vsprintf.c | 30 ++++++++++++++++++++++++++++--
> 2 files changed, 29 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

Would like to see simple test cases for these (e.g. somewhere like
test/vsprint.c). See test/ut_print.c for an example.