[U-Boot] [PATCH v2 4/5] vsprintf.c: add GUID printing
Simon Glass
sjg at chromium.org
Tue Sep 12 12:28:59 UTC 2017
On 9 September 2017 at 04:47, Rob Clark <robdclark at gmail.com> wrote:
> 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 at gmail.com>
> Tested-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> examples/api/Makefile | 1 +
> include/config_fallbacks.h | 1 +
> lib/vsprintf.c | 46 ++++++++++++++++++++++++++++++++++++++++++++--
> 3 files changed, 46 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list