diff options
| author | Tom Rini <[email protected]> | 2024-06-11 07:42:55 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-06-11 07:42:55 -0600 |
| commit | 9cf83a7da95b70a37d0d2aba79439dc8a2944fe3 (patch) | |
| tree | 31681d2bbebaa2e40b32fb4a35034b6e683d8410 /include/efi_load_initrd.h | |
| parent | f9886bc60f42d5bcfcfa4e474af7dc230400b6be (diff) | |
| parent | 535321c2ea76de44896330040d2e43aa4645d026 (diff) | |
Merge tag 'efi-next-20240611' of https://source.denx.de/u-boot/custodians/u-boot-efi into next
Pull request efi-next-20240611
UEFI:
* Allow specifying a device-tree in an EFI load option
using the efidebug or eficonfig command.
* Let the EFI boot manager fall back to an OS provided device-tree
if no device-tree is specified.
Diffstat (limited to 'include/efi_load_initrd.h')
| -rw-r--r-- | include/efi_load_initrd.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/efi_load_initrd.h b/include/efi_load_initrd.h index be5d5a7acbe..9feafb18c86 100644 --- a/include/efi_load_initrd.h +++ b/include/efi_load_initrd.h @@ -18,7 +18,17 @@ 0xac, 0x74, 0xca, 0x55, 0x52, 0x31, 0xcc, 0x68) extern const efi_guid_t efi_lf2_initrd_guid; -struct efi_initrd_dp { +/** + * struct efi_lo_dp_prefix - separator device path used in load options + * + * We use vendor media device nodes in UEFI load options to separate + * the binary, initrd, and fdt device-paths. This structure contains + * the vendor media device node and an end node. + * + * @vendor: vendor media device node + * @end: end node + */ +struct efi_lo_dp_prefix { struct efi_device_path_vendor vendor; struct efi_device_path end; } __packed; |
