]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Abstract out support for locating an EFI config table
authorMatthew Garrett <matthewgarrett@google.com>
Fri, 7 Jun 2019 20:51:46 +0000 (13:51 -0700)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 24 Jun 2019 20:57:49 +0000 (23:57 +0300)
commit82d736ac56d7cd78696c5234853684bad05efadf
tree2e5b20a4133bb208c43519874482facebe36b29f
parentdb4d8cb9c9f2af71c4d087817160d866ed572cc9
Abstract out support for locating an EFI config table

We want to grab a pointer to the TPM final events table, so abstract out
the existing code for finding an FDT table and make it generic.

Signed-off-by: Matthew Garrett <mjg59@google.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/firmware/efi/libstub/efi-stub-helper.c
drivers/firmware/efi/libstub/efistub.h
drivers/firmware/efi/libstub/fdt.c