summaryrefslogtreecommitdiff
path: root/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/AArch64
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-11-28 17:14:01 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-11-30 09:35:22 +0000
commit7c4b47ff8212d8e23d47b0edc7a88ab0d617efca (patch)
treeda14acaa1385fcf91cb3ef1c2d5ba7c92fbb39a3 /Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/AArch64
parent9bf000f2bd38d5bf8e1c561bc2f75afa31e67311 (diff)
downloadedk2-platforms-7c4b47ff8212d8e23d47b0edc7a88ab0d617efca.tar.xz
Silicon/AMD Silicon/Hisilicon: remove ArmGetCpuCountPerCluster()
The function ArmGetCpuCountPerCluster () was moved out of ArmPlatformLib because it was unused (except internally by one of the implementations) So remove the remaining implementations from edk2-platforms. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/AArch64')
-rw-r--r--Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/AArch64/Helper.S6
1 files changed, 0 insertions, 6 deletions
diff --git a/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/AArch64/Helper.S b/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/AArch64/Helper.S
index 3422df279c..74e4aeeffc 100644
--- a/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/AArch64/Helper.S
+++ b/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/AArch64/Helper.S
@@ -29,12 +29,6 @@ ASM_FUNC(ArmPlatformGetPrimaryCoreMpId)
MOV32 (w0, FixedPcdGet32(PcdArmPrimaryCore))
ret
-# IN None
-# OUT x0 = number of cores present in the system
-ASM_FUNC(ArmGetCpuCountPerCluster)
- MOV32 (w0, FixedPcdGet32(PcdCoreCount))
- ret
-
//UINTN
//ArmPlatformIsPrimaryCore (
// IN UINTN MpId