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-CTA15-A7.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-CTA15-A7.dsc')
-rw-r--r-- | Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc b/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc index 1f612cc282..6c6c8d3938 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc +++ b/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc @@ -1,5 +1,5 @@ #
-# Copyright (c) 2012-2015, ARM Limited. All rights reserved.
+# Copyright (c) 2012-2017, ARM Limited. All rights reserved.
# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
@@ -215,6 +215,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
|