summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2018-04-26 12:16:44 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-04-26 19:00:08 +0200
commit3f20ed76ce78c94759163918572231778c688ce1 (patch)
tree597174d2a5c55aedb3c9f76d15c18fd8cf600148
parenteb001da8edae09e03cbd7c82ec3936ee1e977213 (diff)
downloadedk2-platforms-3f20ed76ce78c94759163918572231778c688ce1.tar.xz
Platform/ARM: Fix NOR Flash dependency for CTA15A7
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 VExpress CTA15+A7 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>
-rw-r--r--Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc b/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc
index 6c6c8d3938..ef73767012 100644
--- a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc
+++ b/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc
@@ -214,6 +214,7 @@
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
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
}