DynamicTablesPkg: Use new CPC revision macro

Make use of the newly added CPC revision macro.

Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
This commit is contained in:
Pierre Gondois 2024-01-25 16:18:42 +01:00 committed by mergify[bot]
parent 9f0ebabb57
commit ec15e345ae
1 changed files with 1 additions and 1 deletions

View File

@ -3524,7 +3524,7 @@ AmlCreateCpcNode (
}
// Revision 3 per ACPI 6.4 specification
if (CpcInfo->Revision == 3) {
if (CpcInfo->Revision == EFI_ACPI_6_5_AML_CPC_REVISION) {
// NumEntries 23 per ACPI 6.4 specification
NumberOfEntries = 23;
} else {