mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 17:52:07 +02:00
efi_loader: allow concatenation with contained end node
Allow appending a device-path to a device-path that contains an end node as separator. We need this feature for creating boot options specifying kernel, initrd, and dtb. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
@@ -150,7 +150,7 @@ efi_status_t efi_run_image(void *source_buffer, efi_uintn_t source_size)
|
||||
msg_path = file_path;
|
||||
} else {
|
||||
file_path = efi_dp_concat(bootefi_device_path,
|
||||
bootefi_image_path, false);
|
||||
bootefi_image_path, 0);
|
||||
msg_path = bootefi_image_path;
|
||||
log_debug("Loaded from disk\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user