diff options
Diffstat (limited to 'Platform/Hisilicon/HiKey/Library/HiKeyLib')
-rw-r--r-- | Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyLib.inf | 3 | ||||
-rw-r--r-- | Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyMem.c | 6 |
2 files changed, 1 insertions, 8 deletions
diff --git a/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyLib.inf b/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyLib.inf index 79723d3b17..6a47a4501e 100644 --- a/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyLib.inf +++ b/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyLib.inf @@ -41,9 +41,6 @@ [Sources.AARCH64]
HiKeyHelper.S
-[FeaturePcd]
- gEmbeddedTokenSpaceGuid.PcdCacheEnable
-
[FixedPcd]
gArmTokenSpaceGuid.PcdArmPrimaryCore
gArmTokenSpaceGuid.PcdArmPrimaryCoreMask
diff --git a/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyMem.c b/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyMem.c index c388a7a5ab..0f6ad89a02 100644 --- a/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyMem.c +++ b/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKeyMem.c @@ -164,11 +164,7 @@ ArmPlatformGetVirtualMemoryMap ( return;
}
- if (FeaturePcdGet(PcdCacheEnable) == TRUE) {
- CacheAttributes = DDR_ATTRIBUTES_CACHED;
- } else {
- CacheAttributes = DDR_ATTRIBUTES_UNCACHED;
- }
+ CacheAttributes = DDR_ATTRIBUTES_CACHED;
Index = 0;
|