[U-Boot] [PATCH v2 2/5] lib: add some utf16 handling helpers

Alexander Graf
2017-09-11T14:13:45Z

On 09.09.17 12:47, Rob Clark wrote:
> We'll eventually want these in a few places in efi_loader, and also
> vsprintf.
>
> Signed-off-by: Rob Clark <robdclark@gmail.com>

UEFI wants UCS-2 (the 16 bit only Windows thing), not UTF16 (the
may-also-be-32bit-wide thing).

So I'm not sure how far away this code is from the ultimate truth of
what we need for UEFI compatibility. Do you have any gut feeling?

Alex