diff mbox

[edk2,2/3] Platforms/ARM/Juno: limit ACPI support to v5.0 and higher

Message ID 1461078716-21369-2-git-send-email-sudeep.holla@arm.com
State Superseded
Headers show

Commit Message

Sudeep Holla April 19, 2016, 3:11 p.m. UTC
The ACPI spec predates the AARCH64 architecture by 5 versions, so there
is no point in supporting anything below v5.0. So set the PCD that
controls the ACPI table generation to the appropriate value.

Based on the commit e0692789058e ("ArmVirtPkg/ArmVirtQemu: limit ACPI
support to v5.0 and higher") in the upstream TianoCore by Ard Biesheuvel

Contributed-under: TianoCore Contribution Agreement 1.0
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

---
 Platforms/ARM/Juno/ArmJuno.dsc | 2 ++
 1 file changed, 2 insertions(+)

-- 
1.9.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Ard Biesheuvel April 20, 2016, 7:41 a.m. UTC | #1
On 19 April 2016 at 17:11, Sudeep Holla <sudeep.holla@arm.com> wrote:
> The ACPI spec predates the AARCH64 architecture by 5 versions, so there

> is no point in supporting anything below v5.0. So set the PCD that

> controls the ACPI table generation to the appropriate value.

>

> Based on the commit e0692789058e ("ArmVirtPkg/ArmVirtQemu: limit ACPI

> support to v5.0 and higher") in the upstream TianoCore by Ard Biesheuvel

>

> Contributed-under: TianoCore Contribution Agreement 1.0

> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>

> Cc: Leif Lindholm <leif.lindholm@linaro.org>

> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>


Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


> ---

>  Platforms/ARM/Juno/ArmJuno.dsc | 2 ++

>  1 file changed, 2 insertions(+)

>

> diff --git a/Platforms/ARM/Juno/ArmJuno.dsc b/Platforms/ARM/Juno/ArmJuno.dsc

> index aef4c2167a1e..d961fd41be18 100644

> --- a/Platforms/ARM/Juno/ArmJuno.dsc

> +++ b/Platforms/ARM/Juno/ArmJuno.dsc

> @@ -173,6 +173,8 @@

>    gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE

>    gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }

>

> +  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20

> +

>  [PcdsPatchableInModule]

>    # Console Resolution (Full HD)

>    gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1920

> --

> 1.9.1

>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox

Patch

diff --git a/Platforms/ARM/Juno/ArmJuno.dsc b/Platforms/ARM/Juno/ArmJuno.dsc
index aef4c2167a1e..d961fd41be18 100644
--- a/Platforms/ARM/Juno/ArmJuno.dsc
+++ b/Platforms/ARM/Juno/ArmJuno.dsc
@@ -173,6 +173,8 @@ 
   gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
 
+  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20
+
 [PcdsPatchableInModule]
   # Console Resolution (Full HD)
   gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1920