]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Disk/PartitionDxe/Gpt.c
MdeModulePkg/PartitionDxe: Ignore PMBR BootIndicator per UEFI spec
[mirror_edk2.git] / MdeModulePkg / Universal / Disk / PartitionDxe / Gpt.c
index aefb2d6ecb3f74b12957c511f8d0be6ee2e84c07..efaff5e0808f8babd652dbd9660b67fc73736b66 100644 (file)
@@ -264,8 +264,7 @@ PartitionInstallGptChildHandles (
   // Verify that the Protective MBR is valid\r
   //\r
   for (Index = 0; Index < MAX_MBR_PARTITIONS; Index++) {\r
-    if (ProtectiveMbr->Partition[Index].BootIndicator == 0x00 &&\r
-        ProtectiveMbr->Partition[Index].OSIndicator == PMBR_GPT_PARTITION &&\r
+    if (ProtectiveMbr->Partition[Index].OSIndicator == PMBR_GPT_PARTITION &&\r
         UNPACK_UINT32 (ProtectiveMbr->Partition[Index].StartingLBA) == 1\r
         ) {\r
       break;\r