From 88e967c5d2f07e633e681a9f594591c3bf698148 Mon Sep 17 00:00:00 2001 From: Alexei Fedorov Date: Mon, 22 Jan 2018 16:59:05 +0000 Subject: Platform/ARM: Fix flash alignment access Flash memory is mapped as device memory and should use only aligned accesses. Update VariableRuntimeDxe from using BaseMemoryLibOptDxe to the generic BaseMemoryLib which provides aligned memory access only. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Alexei Fedorov Signed-off-by: Evan Lloyd Reviewed-by: Ard Biesheuvel --- Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc | 1 + 1 file changed, 1 insertion(+) (limited to 'Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc') diff --git a/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc b/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc index 3dbc105f6f..295e9a126b 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc +++ b/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc @@ -224,6 +224,7 @@ MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf { NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf } MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf -- cgit v1.2.3