]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
UefiPayloadPkg: Remove unnecessary ACPI checks
authorDhaval <dhaval@rivosinc.com>
Mon, 12 Aug 2024 16:51:20 +0000 (22:21 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sat, 14 Sep 2024 03:38:47 +0000 (03:38 +0000)
We do not need to go deep into verifying all ACPI tables
at this stage. TODO: Just a simple ACPI header signature
check should be good enough. For now just commenting out
asserts that mandate one to have various tables which is
not applicable to all platforms.

Signed-off-by: Dhaval Sharma <dhaval@rivosinc.com>
UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c

index 24ee43aeec749b915bc5c7c92aa2f7c0041bbf11..8e3032b440c5ef08755982b369b77ba59cb2cbea 100644 (file)
@@ -128,11 +128,11 @@ Done:
   //\r
   // Verify values for proper operation\r
   //\r
-  ASSERT (Fadt->Pm1aCntBlk != 0);\r
-  ASSERT (Fadt->PmTmrBlk != 0);\r
-  ASSERT (Fadt->ResetReg.Address != 0);\r
-  ASSERT (Fadt->Pm1aEvtBlk != 0);\r
-  ASSERT (Fadt->Gpe0Blk != 0);\r
+  // ASSERT (Fadt->Pm1aCntBlk != 0);\r
+  // ASSERT (Fadt->PmTmrBlk != 0);\r
+  // ASSERT (Fadt->ResetReg.Address != 0);\r
+  // ASSERT (Fadt->Pm1aEvtBlk != 0);\r
+  // ASSERT (Fadt->Gpe0Blk != 0);\r
 \r
   return RETURN_SUCCESS;\r
 }\r