diff options
-rw-r--r-- | QcomModulePkg/Library/BootLib/PartitionTableUpdate.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/QcomModulePkg/Library/BootLib/PartitionTableUpdate.c b/QcomModulePkg/Library/BootLib/PartitionTableUpdate.c index 4a80645877..5709f096f5 100644 --- a/QcomModulePkg/Library/BootLib/PartitionTableUpdate.c +++ b/QcomModulePkg/Library/BootLib/PartitionTableUpdate.c @@ -1111,6 +1111,7 @@ UpdatePartitionTable (UINT8 *GptImage, return Status; } +#if 0 STATIC CONST struct PartitionEntry * GetPartitionEntry (CHAR16 *Partition) { @@ -1124,6 +1125,7 @@ GetPartitionEntry (CHAR16 *Partition) } return &PtnEntries[Index]; } +#endif STATIC struct PartitionEntry * GetBootPartitionEntry (Slot *BootSlot) @@ -1471,6 +1473,7 @@ EFI_STATUS ClearUnbootable (VOID) return EFI_SUCCESS; } +#if 0 STATIC EFI_STATUS ValidateSlotGuids (Slot *BootableSlot) { @@ -1533,6 +1536,7 @@ ValidateSlotGuids (Slot *BootableSlot) DEBUG ((EFI_D_INFO, "Booting from slot (%s)\n", BootableSlot->Suffix)); return EFI_SUCCESS; } +#endif EFI_STATUS FindBootableSlot (Slot *BootableSlot) @@ -1589,10 +1593,12 @@ FindBootableSlot (Slot *BootableSlot) GUARD_OUT (HandleActiveSlotUnbootable ()); } +#if 0 /* Validate slot suffix and partition guids */ if (Status == EFI_SUCCESS) { GUARD_OUT (ValidateSlotGuids (BootableSlot)); } +#endif MarkPtnActive (BootableSlot->Suffix); out: if (Status != EFI_SUCCESS) { |