]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: correct shortening of device-paths
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 26 Mar 2023 10:22:40 +0000 (12:22 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 1 Apr 2023 08:11:50 +0000 (10:11 +0200)
commita9203b0fefca4627096779e4eb4b1efbea43ec35
tree578bee4bf3a4ea86f62c983e52b85be3b4396b84
parentffc1cfb8f4cbd2bd28be5877040821ccbda3e08b
efi_loader: correct shortening of device-paths

We use short device-paths in boot options so that a file on a block device
can be found independent of the port into which the device is plugged.

Usb() device-path nodes only contain port and interface information and
therefore cannot identify a block device.
UsbWwi() device-path nodes contain the serial number of USB devices.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_api.h
lib/efi_loader/efi_device_path.c