]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg/PlatformHasAcpiDtDxe: depend on gEfiVariableArchProtocolGuid
authorLaszlo Ersek <lersek@redhat.com>
Wed, 11 Apr 2018 23:37:21 +0000 (01:37 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Thu, 12 Apr 2018 19:24:40 +0000 (21:24 +0200)
PlatformHasAcpiDtDxe consumes the DynamicHii PCD called
"gArmVirtTokenSpaceGuid.PcdForceNoAcpi". The PcdGetBool() library call
terminates in gRT->GetVariable(), in the MdeModulePkg/Universal/PCD/Dxe
driver. Put "gEfiVariableArchProtocolGuid" on PlatformHasAcpiDtDxe's DEPEX
so that we not attempt the call before the PCD driver can successfully
read non-volatile variables.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Steve Capper <steve.capper@linaro.org>
Cc: Supreeth Venkatesh <Supreeth.Venkatesh@arm.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf

index 5351e741aa416898fb8d6918f34d7cf2c9a08501..8346f7f24b3263c23ba6b67ed9b851221b3d9847 100644 (file)
@@ -47,4 +47,4 @@
   gArmVirtTokenSpaceGuid.PcdForceNoAcpi\r
 \r
 [Depex]\r
   gArmVirtTokenSpaceGuid.PcdForceNoAcpi\r
 \r
 [Depex]\r
-  TRUE\r
+  gEfiVariableArchProtocolGuid\r