mirror of
https://xff.cz/git/u-boot/
synced 2025-10-21 18:13:39 +02:00
efi_loader: efi_dp_from_lo() should skip VenMedia node
The 'efidebug boot dump' command should not display the VenMedia() device path node preceding the device path of the initial ram disk. By letting efi_dp_from_lo() skip the VenMedia() device path node we can simplify the coding. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
@@ -1233,7 +1233,7 @@ efi_device_path *efi_dp_from_lo(struct efi_load_option *lo,
|
||||
|
||||
vendor = (struct efi_device_path_vendor *)fp;
|
||||
if (!guidcmp(&vendor->guid, guid))
|
||||
return efi_dp_dup(fp);
|
||||
return efi_dp_dup(efi_dp_next(fp));
|
||||
}
|
||||
log_debug("VenMedia(%pUl) not found in %ls\n", &guid, lo->label);
|
||||
|
||||
|
Reference in New Issue
Block a user