Pull request for UEFI sub-system for efi-2020-04-rc4 (2)

The following changes since commit 12fdbbe860f395575f360f0c03d84bce61a9a212:
Merge tag 'ti-v2020.04-rc4' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti (2020-02-27 08:51:01 -0500)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-04-rc4-2
for you to fetch changes up to 71a7de4467030362ef2582c355c086eb5fc4143f:
doc/efi: add load file 2 protocol to HTML documentation (2020-02-28 19:37:14 +0100)
---------------------------------------------------------------- Pull request for UEFI sub-system for efi-2020-04-rc4 (2)
In Linux next-20200228 patches have been merged to load an initial ramdisk using an EFI_LOAD_FILE2_PROTOCOL provided by the firmware. See commit ec93fc371f01 ("efi/libstub: Add support for loading the initrd from a device path"). The idea behind it is that the firmware should be responsible for validating the initrd in a secure boot setup.
This pull-request comprises a patch series which let's U-Boot provide an initial implementation of the EFI_LOAD_FILE2_PROTOCOL providing the initrd.
---------------------------------------------------------------- Heinrich Schuchardt (1): doc/efi: add load file 2 protocol to HTML documentation
Ilias Apalodimas (2): efi_loader: Implement FileLoad2 for initramfs loading efi_selftest: add selftests for loadfile2 used to load initramfs
cmd/efidebug.c | 4 + doc/api/efi.rst | 9 ++ doc/uefi/uefi.rst | 12 ++ include/efi_api.h | 17 +++ include/efi_load_initrd.h | 25 ++++ include/efi_loader.h | 1 + lib/efi_loader/Kconfig | 15 ++ lib/efi_loader/Makefile | 1 + lib/efi_loader/efi_load_initrd.c | 198 +++++++++++++++++++++++++ lib/efi_loader/efi_setup.c | 5 + lib/efi_selftest/Makefile | 1 + lib/efi_selftest/efi_selftest_load_initrd.c | 220 ++++++++++++++++++++++++++++ 12 files changed, 508 insertions(+) create mode 100644 include/efi_load_initrd.h create mode 100644 lib/efi_loader/efi_load_initrd.c create mode 100644 lib/efi_selftest/efi_selftest_load_initrd.c

On Sat, Feb 29, 2020 at 10:13:52AM +0100, Heinrich Schuchardt wrote:
The following changes since commit 12fdbbe860f395575f360f0c03d84bce61a9a212:
Merge tag 'ti-v2020.04-rc4' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti (2020-02-27 08:51:01 -0500)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-04-rc4-2
for you to fetch changes up to 71a7de4467030362ef2582c355c086eb5fc4143f:
doc/efi: add load file 2 protocol to HTML documentation (2020-02-28 19:37:14 +0100)
Applied to u-boot/master, thanks!
participants (2)
-
Heinrich Schuchardt
-
Tom Rini