]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit10f6d8a1a5aa594920271426a529824d8044f545
tree9da2d285403da31817fb4560b95aea4e6ea8b4f7
parentfce9b1da9ec398c779ac764ca925a5b9874ec042
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