]> git.sur5r.net Git - u-boot/commitdiff
efi_loader: do not use 2.0.5 as UEFI revision number
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 5 Feb 2018 17:04:21 +0000 (18:04 +0100)
committerAlexander Graf <agraf@suse.de>
Fri, 9 Feb 2018 23:24:00 +0000 (00:24 +0100)
Currently the UEFI revision number in the system table header is set to
2.0.5. This version number does not refer to any existing version of the
UEFI standard.

Set the revision number to 2.7.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c

index 2cea712196e98f46cd88c1760cbd6d1d4bd6f7ed..6eea2395c7bfe46ade177550621bb764f08c381a 100644 (file)
@@ -2892,7 +2892,7 @@ static uint16_t __efi_runtime_data firmware_vendor[] = L"Das U-Boot";
 struct efi_system_table __efi_runtime_data systab = {
        .hdr = {
                .signature = EFI_SYSTEM_TABLE_SIGNATURE,
-               .revision = 0x20005, /* 2.5 */
+               .revision = 2 << 16 | 70, /* 2.7 */
                .headersize = sizeof(struct efi_table_hdr),
        },
        .fw_vendor = (long)firmware_vendor,