Skip to content

Commit d4dddfd

Browse files
Ard Biesheuvelctmarinas
authored andcommitted
arm64/efi: remove /chosen/linux, uefi-stub-kern-ver DT property
With the stub to kernel interface being promoted to a proper interface so that other agents than the stub can boot the kernel proper in EFI mode, we can remove the linux,uefi-stub-kern-ver field, considering that its original purpose was to prevent this from happening in the first place. Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Matt Fleming <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
1 parent cb50ce3 commit d4dddfd

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

Documentation/arm/uefi.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,5 @@ linux,uefi-mmap-desc-size | 32-bit | Size in bytes of each entry in the UEFI
5858
--------------------------------------------------------------------------------
5959
linux,uefi-mmap-desc-ver | 32-bit | Version of the mmap descriptor format.
6060
--------------------------------------------------------------------------------
61-
linux,uefi-stub-kern-ver | string | Copy of linux_banner from build.
62-
--------------------------------------------------------------------------------
6361

6462
For verbose debug messages, specify 'uefi_debug' on the kernel command line.

drivers/firmware/efi/libstub/fdt.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,6 @@ efi_status_t update_fdt(efi_system_table_t *sys_table, void *orig_fdt,
147147
if (status)
148148
goto fdt_set_fail;
149149

150-
/*
151-
* Add kernel version banner so stub/kernel match can be
152-
* verified.
153-
*/
154-
status = fdt_setprop_string(fdt, node, "linux,uefi-stub-kern-ver",
155-
linux_banner);
156-
if (status)
157-
goto fdt_set_fail;
158-
159150
return EFI_SUCCESS;
160151

161152
fdt_set_fail:

0 commit comments

Comments
 (0)