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/JunoPkg/ArmJuno.dsc | 1 + 1 file changed, 1 insertion(+) (limited to 'Platform/ARM/JunoPkg/ArmJuno.dsc') diff --git a/Platform/ARM/JunoPkg/ArmJuno.dsc b/Platform/ARM/JunoPkg/ArmJuno.dsc index 5c2a29fe83..9d7317683e 100644 --- a/Platform/ARM/JunoPkg/ArmJuno.dsc +++ b/Platform/ARM/JunoPkg/ArmJuno.dsc @@ -234,6 +234,7 @@ MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf { NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf } MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf -- cgit v1.2.3