[PATCH 0/8] efi_loader: simplify printing GUIDs
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sun Jan 16 16:14:33 CET 2022
In different places text representations are used for GUIDs, e.g.
* command efidebug
* command printenv -e
* command part list for GPT partitions
Introduce a new printf code %pUs and use it to deduplicate the coding.
Heinrich Schuchardt (8):
lib: compile uuid_guid_get_str if CONFIG_LIB_UUID=y
lib: printf code %pUs for GUID text representation
disk: simplify part_print_efi()
sandbox: imply PARTITION_TYPE_GUID
test: add test for %pUs
cmd: efidebug: simplify printing GUIDs
efi_loader: user %pUs for printing GUIDs
cmd: printenv: simplify printing GUIDs
arch/Kconfig | 1 +
cmd/efidebug.c | 160 +-----------------------------
cmd/nvedit_efi.c | 39 +-------
disk/part_efi.c | 21 ++--
include/efi_api.h | 8 ++
include/efi_dt_fixup.h | 4 -
include/efi_rng.h | 4 -
lib/efi_loader/efi_boottime.c | 26 ++---
lib/efi_loader/efi_capsule.c | 6 +-
lib/efi_loader/efi_esrt.c | 6 +-
lib/efi_loader/efi_file.c | 4 +-
lib/efi_loader/efi_hii.c | 14 +--
lib/efi_loader/efi_hii_config.c | 2 +-
lib/efi_loader/efi_image_loader.c | 2 +-
lib/efi_loader/efi_rng.c | 2 +-
lib/efi_loader/efi_signature.c | 2 +-
lib/efi_loader/efi_var_common.c | 6 +-
lib/uuid.c | 144 ++++++++++++++++++++++++++-
lib/vsprintf.c | 11 +-
test/print_ut.c | 20 +++-
20 files changed, 226 insertions(+), 256 deletions(-)
--
2.33.1
More information about the U-Boot
mailing list