]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BeagleBoardPkg: drop unused EmbeddedPkg Pcds
authorLeif Lindholm <leif.lindholm@linaro.org>
Tue, 6 Feb 2018 16:39:12 +0000 (16:39 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Tue, 6 Feb 2018 18:01:07 +0000 (18:01 +0000)
Drop a bunch of unused EmbeddedPkg Pcds, including one used
in local code.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
BeagleBoardPkg/BeagleBoardPkg.dsc
BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardMem.c

index 039c4ad62deb22d9c5a4432593803a907ab7148e..348624a0389c9e7817bd2828a245e64461b14ba4 100644 (file)
   gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r
   gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r
 \r
-  #\r
-  # Control what commands are supported from the UI\r
-  # Turn these on and off to add features or save size\r
-  #\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r
-\r
-  gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r
-\r
   # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r
   gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r
 \r
 \r
   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
 \r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r
-  gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r
-\r
 #\r
 # Optional feature to help prevent EFI memory map fragments\r
 # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r
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