summaryrefslogtreecommitdiffstats
path: root/UefiPayloadPkg
diff options
context:
space:
mode:
authorDhaval <dhaval@rivosinc.com>2024-08-12 22:21:20 +0530
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-14 03:38:47 +0000
commit5cd9e7ce8752696ee3ccd8ec35670717364a6434 (patch)
treed6f994a234badef00e213bca015b94d835187c70 /UefiPayloadPkg
parent7fdb360046a9186f4efb540ec8401d1a1df44653 (diff)
downloadedk2-5cd9e7ce8752696ee3ccd8ec35670717364a6434.tar.gz
edk2-5cd9e7ce8752696ee3ccd8ec35670717364a6434.tar.bz2
edk2-5cd9e7ce8752696ee3ccd8ec35670717364a6434.zip
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>
Diffstat (limited to 'UefiPayloadPkg')
-rw-r--r--UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c b/UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c
index 24ee43aeec..8e3032b440 100644
--- a/UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c
+++ b/UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c
@@ -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;
}