efi: libstub: unify initrd loading between architectures
authorArd Biesheuvel <ardb@kernel.org>
Fri, 16 Sep 2022 12:03:06 +0000 (14:03 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 27 Sep 2022 11:21:36 +0000 (13:21 +0200)
commitf4dc7fffa9873db50ec25624572f8217a6225de8
tree13c8564501a81cd830ad158c822b90afbb8b188b
parenta12b78b5714456e276b9545005f518802a319af9
efi: libstub: unify initrd loading between architectures

Use a EFI configuration table to pass the initrd to the core kernel,
instead of per-arch methods. This cleans up the code considerably, and
should make it easier for architectures to get rid of their reliance on
DT for doing EFI boot in the future.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Documentation/arm/uefi.rst
drivers/firmware/efi/efi.c
drivers/firmware/efi/libstub/efi-stub-helper.c
drivers/firmware/efi/libstub/efi-stub.c
drivers/firmware/efi/libstub/efistub.h
drivers/firmware/efi/libstub/fdt.c
drivers/firmware/efi/libstub/file.c
drivers/firmware/efi/libstub/x86-stub.c
include/linux/efi.h