diff options
author | Sami Mujawar <sami.mujawar@arm.com> | 2018-04-26 10:32:04 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-04-26 18:59:16 +0200 |
commit | a0c1dec9c0a63c770956c5fb86a15cb89bfd70c0 (patch) | |
tree | cb4e635674c86ccd8ee012faee3c0a3607b5fbeb /Platform/ARM | |
parent | b581a4934d8f1d6769c7530a7b71e5db6cb8b728 (diff) | |
download | edk2-platforms-a0c1dec9c0a63c770956c5fb86a15cb89bfd70c0.tar.xz |
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 <sami.mujawar@arm.com>
Signed-off-by: Alexei Fedorov <alexei.fedorov@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'Platform/ARM')
-rw-r--r-- | Platform/ARM/JunoPkg/ArmJuno.dsc | 1 |
1 files changed, 1 insertions, 0 deletions
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 {
<LibraryClasses>
+ NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf
NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
}
|