From 96337c6dbbd0873eb611c82cd91483ef198b770b Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Wed, 11 Apr 2018 22:59:13 +0200 Subject: [PATCH] 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 Cc: Leif Lindholm Cc: Steve Capper Cc: Supreeth Venkatesh Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek Reviewed-by: Ard Biesheuvel Tested-by: Steve Capper Reviewed-by: Leif Lindholm --- ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf index c40ac27a65..a59a21a03e 100644 --- a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf +++ b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf @@ -69,4 +69,4 @@ gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked [Depex] - TRUE + gEfiCpuArchProtocolGuid