Skip to content
Commit 1b7e469a authored by AKASHI Takahiro's avatar AKASHI Takahiro Committed by Heinrich Schuchardt
Browse files

efi_loader: capsule: enforce guid check in api and capsule_on_disk



While UPDATE_CAPSULE api is not fully implemented, this interface and
capsule-on-disk feature should behave in the same way, especially in
handling an empty capsule for fwu multibank, for future enhancement.

So move the guid check into efi_capsule_update_firmware().

Fixed: commit a6aafce4 ("efi_loader: use efi_update_capsule_firmware() for capsule on disk")
Reported-by: default avatarMichal Simek <michal.simek@amd.com>
Signed-off-by: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
Reported-by: default avatarMichal Simek <michal.simek@amd.com>
Signed-off-by: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
Tested-by: default avatarMichal Simek <michal.simek@amd.com>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent 82944538
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment