Execute version check only for SBL update (#513)

This patch will run version check only for SBL update and will
skip for all other components.

Version check for all other components will be added in future
patches.

Signed-off-by: Raghava Gudla <raghava.gudla@intel.com>
This commit is contained in:
raghavag
2020-01-06 12:01:25 -07:00
committed by Aiden Park
parent 79abb75ed6
commit 98cc38ebb5
@@ -362,6 +362,14 @@ VerifyFwVersion (
CurrentBlVersion = NULL;
CapsuleBlVersion = NULL;
//
// For now - Perform version check only for Slim Bootloader
//
if (CompareGuid(&ImageHdr->UpdateImageTypeId, &gSblFWUpdateImageFileGuid) != 0) {
return EFI_SUCCESS;
}
//
// Get base address of Stage 1A from current firmware
//