efi_loader: do not use 2.0.5 as UEFI revision number
PATCH 1/1 efi_loader: do not use 2.0.5 as UEFI revision number
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.
--- lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/efi_loader/efi_boottime.c +1 -1
@@ -2893,7 +2893,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,
Signature · 1 line
2.14.2
PATCH 1/1 efi_loader: do not use 2.0.5 as UEFI revision number
Quoted 7 lines
From: Heinrich Schuchardt <[email protected]>
Date: Mon, 5 Feb 2018 18:04:21 +0100Currently 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.
Quoted 6 lines
Set the revision number to 2.7.
Signed-off-by Heinrich Schuchardt <[email protected]>--- lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Heh. I noticed this when I added code to OpenBSD/arm64 to print the version number. Didn't get around to submitting a diff yet.
Doesn't look like 2.7 has anything new in it that is mandatory, so I guess it is as good as any version number out there.
Quoted 21 lines
lib/efi_loader/efi_boottime.c +1
-1@@ -2893,7 +2893,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,Signature · 6 lines
2.14.2 _______________________________________________ U-Boot mailing list U-Boot at lists.denx.de https://lists.denx.de/listinfo/u-boot