]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardMem.c
BeagleBoardPkg: drop unused EmbeddedPkg Pcds
[mirror_edk2.git] / BeagleBoardPkg / Library / BeagleBoardLib / BeagleBoardMem.c
index b77b069930613a9288ddf8a2ac310546bbb04a8f..3a81ef54a2c8498a12aabe78ac44786bfa5171f4 100644 (file)
@@ -48,11 +48,7 @@ ArmPlatformGetVirtualMemoryMap (
     return;\r
   }\r
 \r
-  if (FeaturePcdGet(PcdCacheEnable) == TRUE) {\r
-    CacheAttributes = DDR_ATTRIBUTES_CACHED;\r
-  } else {\r
-    CacheAttributes = DDR_ATTRIBUTES_UNCACHED;\r
-  }\r
+  CacheAttributes = DDR_ATTRIBUTES_CACHED;\r
 \r
   // ReMap (Either NOR Flash or DRAM)\r
   VirtualMemoryTable[Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase);\r