]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/ArmJunoDxe: don't register OnEndOfDxe event on rev R0
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 4 Apr 2017 11:58:58 +0000 (12:58 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 5 Apr 2017 13:56:10 +0000 (14:56 +0100)
commit4f869acca7a993208890d1852ac72992a97d5da5
tree3da387e03895de5acb9513de9113be8f8e0956a1
parent59a169e8905d7ff8a30bb7b621358a10e2b70cd8
ArmPlatformPkg/ArmJunoDxe: don't register OnEndOfDxe event on rev R0

The ArmJunoDxe driver code registers a callback for the EndOfDxe event,
at which time it does some manipulation of the PCI peripherals on the
board. Given that R0 has no working PCIe, instead of conditionally
performing these operations, omit the registration of the
callback altogether on that platform.

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