summaryrefslogtreecommitdiff
path: root/ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-03-09 16:59:34 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-03-09 18:37:04 +0100
commit78c41ff519b187d8979cda7074f007a6323f9acd (patch)
treedd6d948f9073699de00da92e06839c1fdfde37f3 /ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf
parent18f6d4df9ece8b91b86511bcdd1cf7da478c3627 (diff)
downloadedk2-78c41ff519b187d8979cda7074f007a6323f9acd.zip
edk2-78c41ff519b187d8979cda7074f007a6323f9acd.tar.gz
edk2-78c41ff519b187d8979cda7074f007a6323f9acd.tar.bz2
ArmVirtPkg/FdtClientDxe: make DT table installation !ACPI dependent
Instead of having a build time switch to prevent the FDT configuration table from being installed, make this behavior dependent on whether we are passing ACPI tables to the OS. This is done by looking for the ACPI 2.0 configuration table, and only installing the FDT one if the ACPI one cannot be found. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf')
-rw-r--r--ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf5
1 files changed, 2 insertions, 3 deletions
diff --git a/ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf b/ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf
index 0001772..9861f41 100644
--- a/ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf
+++ b/ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf
@@ -37,17 +37,16 @@
HobLib
UefiBootServicesTableLib
UefiDriverEntryPoint
+ UefiLib
[Protocols]
gFdtClientProtocolGuid ## PRODUCES
[Guids]
+ gEfiAcpi20TableGuid
gEfiEventReadyToBootGuid
gFdtHobGuid
gFdtTableGuid
-[FeaturePcd]
- gArmVirtTokenSpaceGuid.PcdPureAcpiBoot
-
[Depex]
TRUE