]> git.baikalelectronics.ru Git - uboot.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)
commitfa346dac544e5cbf323bc39918aab977a406c868
tree578bee4bf3a4ea86f62c983e52b85be3b4396b84
parentc5b2ee93a565f9bf5c87a12867baf34ffee869d1
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