[PATCH 0/2] efi_loader: efi_alloc()
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sun Mar 19 09:20:21 CET 2023
The incumbent function efi_alloc() is unused.
Replace dp_alloc() by a new function efi_alloc() that we can use more
widely.
Use it to simply efi_str_to_u16().
Heinrich Schuchardt (2):
efi_loader: move dp_alloc() to efi_alloc()
efi_loader: simplify efi_str_to_u16()
include/efi_loader.h | 4 +--
lib/efi_loader/efi_device_path.c | 40 +++++++--------------
lib/efi_loader/efi_device_path_to_text.c | 5 ++-
lib/efi_loader/efi_memory.c | 46 +++++++++++++-----------
4 files changed, 42 insertions(+), 53 deletions(-)
--
2.39.2
More information about the U-Boot
mailing list