]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/PL180MciDxe: fix Depex for TC2
authorRyan Harkin <ryan.harkin@linaro.org>
Tue, 1 Mar 2016 07:44:39 +0000 (07:44 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Tue, 1 Mar 2016 18:04:36 +0000 (18:04 +0000)
PL180 on TC2 has a dependency on gEfiCpuArchProtocolGuid.  Without
adding the dependency, TC2 will crash in the PL180 driver.

This problem has been present since d340ef7 when TC2 stopped booting.
However, it was masked by 300fc77 which prevented PL180 from running on
TC2 due to TC2 using a version on PL180 newer than that documented
publicly.

[1] https://github.com/tianocore/edk2/commit/d340ef7
2014-08-26
ArmPkg/ArmArchTimerLib: Remove non required [depex] and IoLib
[2] https://github.com/tianocore/edk2/commit/300fc77
2015-08-25
ArmPlatformPkg/PL180MciDxe: check PrimeCell ID before initializing

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf

index 418fbac78aa767119ab19c87635174a1a3b9ccd4..03d5ba57097699f01611356be6499889ee7d0611 100644 (file)
@@ -49,4 +49,4 @@
   gArmPlatformTokenSpaceGuid.PcdPL180MciBaseAddress\r
 \r
 [Depex]\r
   gArmPlatformTokenSpaceGuid.PcdPL180MciBaseAddress\r
 \r
 [Depex]\r
-  TRUE\r
+  gEfiCpuArchProtocolGuid\r