efi_loader: don't set EFI_RT_SUPPORTED_UPDATE_CAPSULE
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 9 Dec 2020 06:38:46 +0000 (07:38 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Dec 2020 08:15:32 +0000 (09:15 +0100)
commit470fa190f35006e2641d775d4befbd74108837bc
tree7a58974bb8d2d641b2d97b5ee25c4d3d1daba8ac
parent3d20d212cf410102ce67b62774c831bd73617424
efi_loader: don't set EFI_RT_SUPPORTED_UPDATE_CAPSULE

The EFI_RT_PROPERTIES_TABLE configuration table indicates which runtime
services are available at runtime.

Even if CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y, we neither support
UpdateCapsule() nor QueryCapsuleCapabilities() at runtime. Thus we should
not set the corresponding flags EFI_RT_SUPPORTED_UPDATE_CAPSULE and
EFI_RT_SUPPORTED_QUERY_CAPSULE_CAPABILITIES in RuntimeServicesSupported.

Fixes: 2bc27ca8a04a ("efi_loader: define UpdateCapsule api")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_runtime.c