From a0c1dec9c0a63c770956c5fb86a15cb89bfd70c0 Mon Sep 17 00:00:00 2001 From: Sami Mujawar Date: Thu, 26 Apr 2018 10:32:04 +0100 Subject: Platform/ARM: Fix NOR Flash dependency for Juno The correct load order for the NOR Flash driver and Runtime Variables to work is as below: 1. Arm CPU Architecture Protocol Dxe 2. NOR Flash Dxe 3. Runtime Variable Dxe NvVarStoreFormattedLib was recently introduced to resolve the dependency order. This patch propagates the necessary changes for ARM Juno platform and also fixes the "Firmware Volume for Variable Store is corrupted" error seen when the Flash is erased (or not formatted). Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sami Mujawar Signed-off-by: Alexei Fedorov Reviewed-by: Ard Biesheuvel --- Platform/ARM/JunoPkg/ArmJuno.dsc | 1 + 1 file changed, 1 insertion(+) (limited to 'Platform') diff --git a/Platform/ARM/JunoPkg/ArmJuno.dsc b/Platform/ARM/JunoPkg/ArmJuno.dsc index d5e87f1edf..5ec563cefb 100644 --- a/Platform/ARM/JunoPkg/ArmJuno.dsc +++ b/Platform/ARM/JunoPkg/ArmJuno.dsc @@ -254,6 +254,7 @@ MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf { + NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf } -- cgit v1.2.3