mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg/NorFlashDxe: depend on gEfiCpuArchProtocolGuid
NorFlashFvbInitialize() calls gDS->SetMemorySpaceAttributes() to mark the varstore flash region as uncached. This DXE service depends on the CPU Architectural protocol, and the DXE core is allowed to return EFI_NOT_AVAILABLE_YET if it hasn't dispatched ArmPkg/Drivers/CpuDxe earlier. Make the dependency explicit. 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> Tested-by: Steve Capper <steve.capper@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
parent
6281a2ed3b
commit
96337c6dbb
|
@ -69,4 +69,4 @@
|
||||||
gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked
|
gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked
|
||||||
|
|
||||||
[Depex]
|
[Depex]
|
||||||
TRUE
|
gEfiCpuArchProtocolGuid
|
||||||
|
|
Loading…
Reference in New Issue