You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
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:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user