]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/PrePi: allow unicore version to be used on MP hardware
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 19 Apr 2016 07:22:38 +0000 (09:22 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 29 Apr 2016 16:12:52 +0000 (18:12 +0200)
commitc4cc609dc8cf1fe96ae331c61b7803be0fa23e03
tree479d0bb62fd6140ed13f297814425db483132c84
parent3dece14502b972c6b68525c1d7dba9088611da92
ArmPlatformPkg/PrePi: allow unicore version to be used on MP hardware

When combining UEFI firmware built from Tianocore with ARM Trusted
Firmware running in EL3, it is the responsibility of ATF that only
a single core enters the UEFI firmware in EL2, and the remaining cores
are released directly to the OS via PSCI SMC calls.

In this case, we don't need the MpCore flavor of PrePi or PrePeiCore,
but the UniCore flavor currently checks the CPU identification registers
directly, and refuses to proceed if the boot CPU is part of a MpCore
system.

So drop the ASSERT()'s that implement this check.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPlatformPkg/PrePi/MainUniCore.c
ArmPlatformPkg/PrePi/PrePi.c