diff options
author | Alexei Fedorov <Alexei.Fedorov@arm.com> | 2018-01-22 16:59:05 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-01-23 18:16:27 +0000 |
commit | 88e967c5d2f07e633e681a9f594591c3bf698148 (patch) | |
tree | adeb8f33f9d2f8bdc5c02ec29dd72418adb2d8d8 /Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc | |
parent | dfacf5057f303dd005038eead64d0aad4612b9fa (diff) | |
download | edk2-platforms-88e967c5d2f07e633e681a9f594591c3bf698148.tar.xz |
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 <Alxei.Fedorov@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc')
-rw-r--r-- | Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc | 1 |
1 files changed, 1 insertions, 0 deletions
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 {
<LibraryClasses>
NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
+ BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
}
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|