diff options
author | Pierre Gondois <pierre.gondois@arm.com> | 2024-01-25 16:18:42 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-01-29 16:47:03 +0000 |
commit | ec15e345ae1b9e98d49e8aa1219d103a93e47d03 (patch) | |
tree | 942ea1f3862ad1a4bbd82d4c589dee58b21ff5f9 /DynamicTablesPkg/Library/Common/AmlLib | |
parent | 9f0ebabb57cc9c0f34ab5d3bb879e97a1d431b7d (diff) | |
download | edk2-ec15e345ae1b9e98d49e8aa1219d103a93e47d03.zip edk2-ec15e345ae1b9e98d49e8aa1219d103a93e47d03.tar.gz edk2-ec15e345ae1b9e98d49e8aa1219d103a93e47d03.tar.bz2 |
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>
Diffstat (limited to 'DynamicTablesPkg/Library/Common/AmlLib')
-rw-r--r-- | DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c b/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c index d4e3e25..949aee2 100644 --- a/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c +++ b/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c @@ -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 {
|