summaryrefslogtreecommitdiff
path: root/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJunoMem.c
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2018-02-08 19:23:46 +0000
committerLeif Lindholm <leif.lindholm@linaro.org>2018-02-09 09:30:16 +0000
commit840b6fbf79a31ad8386a2f7e7b51cb746631dde6 (patch)
tree738795f343df0cb568fcb6a4a403b57f2e0b8925 /Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJunoMem.c
parent327e14208451f1f97932b3e9e8a44fcc1c9ea8f8 (diff)
downloadedk2-platforms-840b6fbf79a31ad8386a2f7e7b51cb746631dde6.tar.xz
Platform/ARM: drop use of PcdCacheEnabled
PcdCacheEnabled does nothing useful for these platforms. Delete all uses of it here to keep the platforms building once the Pcd is removed from EmbeddedPkg. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJunoMem.c')
-rw-r--r--Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJunoMem.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJunoMem.c b/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJunoMem.c
index aa8d7d9c3b..2d9c2c95a8 100644
--- a/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJunoMem.c
+++ b/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJunoMem.c
@@ -72,11 +72,7 @@ ArmPlatformGetVirtualMemoryMap (
return;
}
- if (FeaturePcdGet(PcdCacheEnable) == TRUE) {
- CacheAttributes = DDR_ATTRIBUTES_CACHED;
- } else {
- CacheAttributes = DDR_ATTRIBUTES_UNCACHED;
- }
+ CacheAttributes = DDR_ATTRIBUTES_CACHED;
// SMB CS0 - NOR0 Flash
VirtualMemoryTable[Index].PhysicalBase = ARM_VE_SMB_NOR0_BASE;