efi: libstub: remove DT dependency from generic stub
authorArd Biesheuvel <ardb@kernel.org>
Fri, 16 Sep 2022 16:51:36 +0000 (18:51 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 27 Sep 2022 11:22:47 +0000 (13:22 +0200)
commit4fc8e738ff3e6a208855bb69783280870c7cf251
tree9da2d285403da31817fb4560b95aea4e6ea8b4f7
parentf4dc7fffa9873db50ec25624572f8217a6225de8
efi: libstub: remove DT dependency from generic stub

Refactor the generic EFI stub entry code so that all the dependencies on
device tree are abstracted and hidden behind a generic efi_boot_kernel()
routine that can also be implemented in other ways. This allows users of
the generic stub to avoid using FDT for passing information to the core
kernel.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/efi-stub.c
drivers/firmware/efi/libstub/efistub.h
drivers/firmware/efi/libstub/fdt.c