]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: support booting via short-form device-path
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 26 Feb 2022 11:05:30 +0000 (12:05 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 20 Mar 2022 10:03:06 +0000 (11:03 +0100)
commit383ff81c13c8eb434323c06e1e5190abd00e26ab
treeec1b704507184d7016f66eb07e4d51ef040329ff
parent440e4aedc01838fc569728560ec0f70c96a47704
efi_loader: support booting via short-form device-path

The boot manager must support loading from boot options using a short-form
device-path, e.g. one where the first element is a hard drive media path.

See '3.1.2 Load Options Processing' in UEFI specification version 2.9.

Fixes: 5b836a963000 ("efi_loader: carve out efi_load_image_from_file()")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_boottime.c