[PATCH 0/4] efi_loader: simplify string handling

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sat Apr 2 11:46:57 CEST 2022


* convert u16_strlen() into a macro
* use u16_size() instead of u16_strlen() to simplify code

Heinrich Schuchardt (4):
  lib: convert u16_strlen() into a macro
  lib: simplify u16_strdup()
  efi_loader: EFI_HII_STRING_PROTOCOL.GetString()
  efi_loader: simplify efi_serialize_load_option()

 include/charset.h                 | 26 ++++++++++++++------------
 lib/charset.c                     | 14 +-------------
 lib/efi_loader/efi_hii.c          |  2 +-
 lib/efi_loader/efi_load_options.c |  2 +-
 4 files changed, 17 insertions(+), 27 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list