public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] efi_loader: multi part device paths to text
@ 2021-02-18 17:30 Heinrich Schuchardt
  2021-02-18 17:30 ` [PATCH 1/2] " Heinrich Schuchardt
  2021-02-18 17:30 ` [PATCH 2/2] efi_selftest: multi part device path " Heinrich Schuchardt
  0 siblings, 2 replies; 7+ messages in thread
From: Heinrich Schuchardt @ 2021-02-18 17:30 UTC (permalink / raw)
  To: u-boot

Our current implementation of
EFI_DEVICE_PATH_TO_TEXT_PROTOCOL.ConvertDevicePathToText() truncates multi
part device paths after the first part. We should convert all parts.

Render device path instance ends as commas. This is not explicitly
described in the UEFI spec but mimics what EDK II does.

Provide a unit test for multi part device paths.

Heinrich Schuchardt (2):
  efi_loader: multi part device paths to text
  efi_selftest: multi part device path to text

 lib/efi_loader/efi_device_path_to_text.c   | 17 ++++--
 lib/efi_selftest/efi_selftest_devicepath.c | 65 ++++++++++++++++++++++
 2 files changed, 77 insertions(+), 5 deletions(-)

--
2.30.0

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

end of thread, other threads:[~2021-02-19 12:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-18 17:30 [PATCH 0/2] efi_loader: multi part device paths to text Heinrich Schuchardt
2021-02-18 17:30 ` [PATCH 1/2] " Heinrich Schuchardt
2021-02-19 10:13   ` Ilias Apalodimas
2021-02-19 11:45     ` Heinrich Schuchardt
2021-02-19 12:02       ` Ilias Apalodimas
2021-02-18 17:30 ` [PATCH 2/2] efi_selftest: multi part device path " Heinrich Schuchardt
2021-02-19 10:15   ` Ilias Apalodimas

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