mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 14:00:40 -10:00
If the first call to UpdateImageProgress() fails, there is no point
in passing a pointer to it to Fmp->SetImage(), since it is highly
unlikely to succeed on any subsequent calls.
This permits the FMP implementation to fall back to an alternate means
of providing feedback to the user, e.g., via the console.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Star Zeng <[email protected]>
(cherry picked from commit 1342bd4486)