summaryrefslogtreecommitdiffstats
path: root/SignedCapsulePkg
diff options
context:
space:
mode:
authorINDIA\sachinganesh <sachinganesh@ami.com>2024-10-18 02:00:44 +0530
committerLiming Gao <gaoliming@byosoft.com.cn>2025-01-09 12:40:45 +0800
commitbb129c6a8268693c85eee000aa16b12eb4956680 (patch)
treeb250c6d6d634b837fac26a057abf3b495648fc83 /SignedCapsulePkg
parent768adcd9c1483203a089078767fb0ef1d0048c3d (diff)
downloadedk2-bb129c6a8268693c85eee000aa16b12eb4956680.tar.gz
SignedCapsulePkg: Clarify return status of Fmp Protocol GetImage()
Clarifed the return status of EFI_FIRMWARE_MANAGEMENT_PROTOCOL.GetImage(). As intended in UEFI 2.10 Specification. Signed-off-by: Sachin Ganesh <sachinganesh@ami.com>
Diffstat (limited to 'SignedCapsulePkg')
-rw-r--r--SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c b/SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c
index 077bd0cb31..e5b78087bf 100644
--- a/SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c
+++ b/SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareCommonDxe.c
@@ -163,7 +163,10 @@ FmpGetImageInfo (
@retval EFI_INVALID_PARAMETER The Image was NULL.
@retval EFI_NOT_FOUND The current image is not copied to the buffer.
@retval EFI_UNSUPPORTED The operation is not supported.
- @retval EFI_SECURITY_VIOLATION The operation could not be performed due to an authentication failure.
+ @retval EFI_SECURITY_VIOLATION The operation could not be completed due to an image corruption.
+ If the image is able to be read, the Image buffer will be updated
+ with the retrieved image contents.
+ @retval EFI_DEVICE_ERROR The image could not be read.
**/
EFI_STATUS