]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: find distro device-path for media devices
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 Jul 2024 11:30:29 +0000 (13:30 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 19 Jul 2024 11:43:50 +0000 (13:43 +0200)
commit5c1b5e6bc59a047c2ac65b2c22a2b511658b0f15
tree3db036f27cb7094c1a34714c3eb684611dcd6aed
parent7aab2b6c1f9cff9d7f1192651ea81b6855b28a33
efi_loader: find distro device-path for media devices

The auto-generated load options for media device do not contain a partition
node. We cannot expect the simple file protocol here.

Get the partition device-path via the loaded image protocol.

Fixes: e91b68fd6b83 ("efi_loader: load distro dtb in bootmgr")
Reported-by: E Shattow <lucent@gmail.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: E Shattow <lucent@gmail.com>
include/efi_loader.h
lib/efi_loader/efi_bootmgr.c
lib/efi_loader/efi_fdt.c