UefiPayloadPkg: Remove unnecessary ACPI checks

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>
This commit is contained in:
Dhaval 2024-08-12 22:21:20 +05:30 committed by mergify[bot]
parent 7fdb360046
commit 5cd9e7ce87

View File

@ -128,11 +128,11 @@ Done:
//
// Verify values for proper operation
//
ASSERT (Fadt->Pm1aCntBlk != 0);
ASSERT (Fadt->PmTmrBlk != 0);
ASSERT (Fadt->ResetReg.Address != 0);
ASSERT (Fadt->Pm1aEvtBlk != 0);
ASSERT (Fadt->Gpe0Blk != 0);
// ASSERT (Fadt->Pm1aCntBlk != 0);
// ASSERT (Fadt->PmTmrBlk != 0);
// ASSERT (Fadt->ResetReg.Address != 0);
// ASSERT (Fadt->Pm1aEvtBlk != 0);
// ASSERT (Fadt->Gpe0Blk != 0);
return RETURN_SUCCESS;
}