audk/FmpDevicePkg
Michael Kubacki 772c5bb8dc FmpDevicePkg/FmpDxe: Update FmpDeviceCheckImageWithStatus() handling
Update the logic handling last attempt status codes from
FmpDeviceCheckImageWithStatus() implementations to account for
cases when the function return status code is EFI_SUCCESS
(since the image was checked successfully) but the ImageUpdatable
value is not valid.

In addition the following sentence is removed from the
LastAttemptStatus parameter definition for
FmpDeviceCheckImageWithStatus() since it can lead to confusion.
The expected status code value range is sufficient to implement
the library API.

  "This value will only be checked when this
   function returns an error."

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Guomin Jiang <guomin.jiang@intel.com>
2022-01-20 01:41:06 +00:00
..
CapsuleUpdatePolicyDxe FmpDevicePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FmpDxe FmpDevicePkg/FmpDxe: Update FmpDeviceCheckImageWithStatus() handling 2022-01-20 01:41:06 +00:00
Include FmpDevicePkg/FmpDxe: Update FmpDeviceCheckImageWithStatus() handling 2022-01-20 01:41:06 +00:00
Library FmpDevicePkg/FmpDxe: Update FmpDeviceCheckImageWithStatus() handling 2022-01-20 01:41:06 +00:00
PrivateInclude FmpDevicePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Test FmpDevicePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FmpDevicePkg.ci.yaml FmpDevicePkg/FmpDevicePkg.ci.yaml: Add configuration for Ecc check 2020-08-17 03:28:09 +00:00
FmpDevicePkg.dec FmpDevicePkg: Add FmpDependencyDevice library class and NULL instance 2020-05-15 06:11:44 +00:00
FmpDevicePkg.dsc FmpDevicePkg/FmpDxe: Use new Variable Lock interface 2021-10-26 05:19:17 +00:00
FmpDevicePkg.uni FmpDevicePkg: Fix spelling errors 2019-10-23 08:08:08 -07:00
FmpDevicePkgExtra.uni FmpDevicePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:00 -07:00