[PATCH 0/2] efi_loader: use short-form DP for load options

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Feb 26 12:56:49 CET 2022


The GUID of partitions is sufficient for identification and will stay
constant in the lifetime of a boot option. The preceding path of the
device-path may change due to changes in the enumeration of devices.

Create short-form device-paths in the 'efidebug boot add' command.

Fix the support of short form device-paths in the implementation of
LoadImage().

Heinrich Schuchardt (2):
  efi_loader: support booting via short-form device-path
  efi_loader: use short-form DP for load options

 cmd/efidebug.c                   | 15 +++++++++++----
 include/efi_loader.h             |  3 ++-
 lib/efi_loader/efi_boottime.c    | 12 ++++++------
 lib/efi_loader/efi_device_path.c | 21 +++++++++++++--------
 4 files changed, 32 insertions(+), 19 deletions(-)

--
2.34.1



More information about the U-Boot mailing list