audk/MdeModulePkg
Ard Biesheuvel 1342bd4486 MdeModulePkg/DxeCapsuleLibFmp: pass progress callback only if it works
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 <ard.biesheuvel@linaro.org>
Reviewed-by: Star Zeng <star.zeng@intel.com>
2018-06-15 18:18:17 +02:00
..
Application MdeModulePkg BootManagerMenuApp: Update usage info for BootLogo protocol 2018-06-05 14:23:48 +08:00
Bus MdeModulePkg/IncompPciDeviceSupport: Use correct descriptor length 2018-06-14 16:38:15 +08:00
Core MdeModulePkg: Remove X86 ASM and S files 2018-06-07 15:26:27 +08:00
Include MdeModulePkg: Add AtaAtapiPolicy protocol definition 2018-06-08 17:46:45 +08:00
Library MdeModulePkg/DxeCapsuleLibFmp: pass progress callback only if it works 2018-06-15 18:18:17 +02:00
Logo MdeModulePkg/Logo.idf: Remove incorrect comments. 2018-02-28 15:30:23 +08:00
Universal MdeModulePkg/CapsuleRuntimeDxe: clean the capsule payload to DRAM 2018-06-15 18:17:44 +02:00
MdeModulePkg.dec MdeModulePkg: Add AtaAtapiPolicy protocol definition 2018-06-08 17:46:45 +08:00
MdeModulePkg.dsc MdeModulePkg: Make sure ResetSystemRuntimeDxe uses ResetSystemLibNull 2018-06-05 13:49:18 +08:00
MdeModulePkg.uni MdeModulePkg/Variable/RuntimeDxe: introduce PcdMaxVolatileVariableSize 2018-03-30 21:17:07 +02:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00