summaryrefslogtreecommitdiffstats
path: root/BeagleBoardPkg/Sec/Cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'BeagleBoardPkg/Sec/Cache.c')
-rwxr-xr-xBeagleBoardPkg/Sec/Cache.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/BeagleBoardPkg/Sec/Cache.c b/BeagleBoardPkg/Sec/Cache.c
index d7c906244c..12b585e7cf 100755
--- a/BeagleBoardPkg/Sec/Cache.c
+++ b/BeagleBoardPkg/Sec/Cache.c
@@ -38,14 +38,11 @@ InitCache (
IN UINT32 MemoryLength
)
{
- UINTN UncachedMemoryMask;
UINT32 CacheAttributes;
ARM_MEMORY_REGION_DESCRIPTOR MemoryTable[5];
VOID *TranslationTableBase;
UINTN TranslationTableSize;
- UncachedMemoryMask = PcdGet64(PcdArmUncachedMemoryMask);
-
if (FeaturePcdGet(PcdCacheEnable) == TRUE) {
CacheAttributes = DDR_ATTRIBUTES_CACHED;
} else {