[U-Boot] [PATCH v2 0/5] vsprintf and short-wchar

Rob Clark
2017-09-09T10:47:38Z

This patchset enables -fshort-wchar and adds support to vsprintf (%ls),
along with GUID printing. Both things needed by efi_loader.

Unlike the previous version of the patchset, which had a kconfig option
selected by efi_loader to enable -fshort-wchar, and at Tom's suggestion,
this patchset unconditionally switches to -fshort-wchar.

Note that this patchset and the fs_readdir patchset (which I'll resend
today) can be applied in either order. But both are dependencies for
the stack of efi_loader patches to make normal distro boot work (shim/
fallback and upstream grub being able to locate it's grub.cfg properly).
So either these could go before pulling efi-next or possibly have
multiple efi-next pull requests so Heinrich's efi_loader patches can
go first.

Rob Clark (5):
kbuild: Enable -fshort-wchar
lib: add some utf16 handling helpers
vsprintf.c: add UTF-16 string (%ls) support
vsprintf.c: add GUID printing
examples: add fallback memcpy

Makefile | 1 +
examples/api/Makefile | 2 +
examples/api/glue.c | 12 +++++
include/charset.h | 65 ++++++++++++++++++++++++++++
include/config_fallbacks.h | 1 +
lib/Makefile | 1 +
lib/charset.c | 101 +++++++++++++++++++++++++++++++++++++++++++
lib/efi_loader/efi_console.c | 17 ++------
lib/vsprintf.c | 76 ++++++++++++++++++++++++++++++--
9 files changed, 258 insertions(+), 18 deletions(-)
create mode 100644 include/charset.h
create mode 100644 lib/charset.c

--
2.13.5