aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark2017-09-09 05:47:42 -0500
committerTom Rini2017-09-12 16:58:00 -0500
commit22ada0c8e6d50281af72176eecdfc356c794639c (patch)
tree3400e2faa34cb0e7aca30b4e86904f0eadb480e0 /examples
parent274325c50951dd16ad2a6f45e79dc062ad47011b (diff)
downloadu-boot-22ada0c8e6d50281af72176eecdfc356c794639c.tar.gz
u-boot-22ada0c8e6d50281af72176eecdfc356c794639c.tar.xz
u-boot-22ada0c8e6d50281af72176eecdfc356c794639c.zip
vsprintf.c: add GUID printing
This works (roughly) the same way as linux's, but we currently always print lower-case (ie. we just keep %pUB and %pUL for compat with linux), mostly just because that is what uuid_bin_to_str() supports. %pUb: 01020304-0506-0708-090a-0b0c0d0e0f10 %pUl: 04030201-0605-0807-090a-0b0c0d0e0f10 It will be used by a later efi_loader paths for efi variables and for device-path-to-text protocol, and also quite useful for debug prints of protocol GUIDs. Signed-off-by: Rob Clark <robdclark@gmail.com> Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/api/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/api/Makefile b/examples/api/Makefile
index 87c15d0f68..899527267d 100644
--- a/examples/api/Makefile
+++ b/examples/api/Makefile
@@ -35,6 +35,7 @@ EXT_COBJ-y += lib/string.o
35EXT_COBJ-y += lib/time.o 35EXT_COBJ-y += lib/time.o
36EXT_COBJ-y += lib/vsprintf.o 36EXT_COBJ-y += lib/vsprintf.o
37EXT_COBJ-y += lib/charset.o 37EXT_COBJ-y += lib/charset.o
38EXT_COBJ-$(CONFIG_LIB_UUID) += lib/uuid.o
38EXT_SOBJ-$(CONFIG_PPC) += arch/powerpc/lib/ppcstring.o 39EXT_SOBJ-$(CONFIG_PPC) += arch/powerpc/lib/ppcstring.o
39ifeq ($(ARCH),arm) 40ifeq ($(ARCH),arm)
40EXT_SOBJ-$(CONFIG_USE_ARCH_MEMSET) += arch/arm/lib/memset.o 41EXT_SOBJ-$(CONFIG_USE_ARCH_MEMSET) += arch/arm/lib/memset.o