From: Masahisa Kojima Date: Thu, 12 Oct 2023 05:31:59 +0000 (+0900) Subject: efi_loader: use well-known guid for auto-created boot option X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=c1ab04626d6b05c6e82dfe4d97d3f62f7310d612;p=u-boot.git efi_loader: use well-known guid for auto-created boot option The boot option automatically created by efibootmgr is identified by the special guid appended in the optional data of boot option. The same mechanism is implemented in the EDK II reference implementation, it uses the different guid from the one currently U-Boot uses. The guid indicating auto-created boot option is not defined in the UEFI specification, but some userspace tools such as 'efivar' package are aware of the guid used in EDK II as auto-created boot option. So let's use the same guid as EDK II reference implementation. Signed-off-by: Masahisa Kojima Reviewed-by: Heinrich Schuchardt --- diff --git a/include/efi_loader.h b/include/efi_loader.h index 4a29ddaef4..e24410505f 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -149,8 +149,8 @@ static inline efi_status_t efi_launch_capsules(void) /* GUID for the auto generated boot menu entry */ #define EFICONFIG_AUTO_GENERATED_ENTRY_GUID \ - EFI_GUID(0x38c1acc1, 0x9fc0, 0x41f0, \ - 0xb9, 0x01, 0xfa, 0x74, 0xd6, 0xd6, 0xe4, 0xde) + EFI_GUID(0x8108ac4e, 0x9f11, 0x4d59, \ + 0x85, 0x0e, 0xe2, 0x1a, 0x52, 0x2c, 0x59, 0xb2) /* Use internal device tree when starting UEFI application */ #define EFI_FDT_USE_INTERNAL NULL