]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: Always install FMPs
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 22 Jun 2021 14:38:53 +0000 (17:38 +0300)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 2 Jul 2021 07:37:01 +0000 (09:37 +0200)
commita71bb537731fb9558380597fcd788f987b5cd1b4
tree690817e3944b543a80a823dc88f8a1d7dda30f72
parent5998128a58c2d02116747bad24f8606915efd950
efi_loader: Always install FMPs

We only install FMPs if a CapsuleUpdate is requested.  Since we now have an
ESRT table which relies on FMPs to build the required information, it
makes more sense to unconditionally install them. This will allow userspace
applications (e.g fwupd) to make use of the ERST and provide us with files
we can use to run CapsuleUpdate on-disk

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_loader.h
lib/efi_loader/efi_capsule.c
lib/efi_loader/efi_setup.c