public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] efi_loader: efi_alloc()
@ 2023-03-19  8:20 Heinrich Schuchardt
  2023-03-19  8:20 ` [PATCH 1/2] efi_loader: move dp_alloc() to efi_alloc() Heinrich Schuchardt
  2023-03-19  8:20 ` [PATCH 2/2] efi_loader: simplify efi_str_to_u16() Heinrich Schuchardt
  0 siblings, 2 replies; 7+ messages in thread
From: Heinrich Schuchardt @ 2023-03-19  8:20 UTC (permalink / raw)
  To: Ilias Apalodimas; +Cc: u-boot, Heinrich Schuchardt

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-03-20 11:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-19  8:20 [PATCH 0/2] efi_loader: efi_alloc() Heinrich Schuchardt
2023-03-19  8:20 ` [PATCH 1/2] efi_loader: move dp_alloc() to efi_alloc() Heinrich Schuchardt
2023-03-20  7:38   ` Ilias Apalodimas
2023-03-20  9:15     ` Heinrich Schuchardt
2023-03-20 11:04       ` Ilias Apalodimas
2023-03-19  8:20 ` [PATCH 2/2] efi_loader: simplify efi_str_to_u16() Heinrich Schuchardt
2023-03-19 19:29   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox