efi_loader: avoid multiple local copies of lf2_initrd_guid
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 15 Oct 2021 00:33:33 +0000 (02:33 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 21 Oct 2021 01:46:04 +0000 (03:46 +0200)
commit9ad37fe405a6fccba3555892ac9e64dbd37b0581
treeef855bfa969d20f9d9fcd6760a7fc85233d46629
parent05345425cab4202b356085afcac485614a9b52a9
efi_loader: avoid multiple local copies of lf2_initrd_guid

Create the GUID as a global variable.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/efidebug.c
include/efi_load_initrd.h
lib/efi_loader/efi_helper.c
lib/efi_loader/efi_load_initrd.c