diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-28 17:14:01 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-30 09:35:22 +0000 |
commit | 7c4b47ff8212d8e23d47b0edc7a88ab0d617efca (patch) | |
tree | da14acaa1385fcf91cb3ef1c2d5ba7c92fbb39a3 /Silicon/AMD | |
parent | 9bf000f2bd38d5bf8e1c561bc2f75afa31e67311 (diff) | |
download | edk2-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/AMD')
-rw-r--r-- | Silicon/AMD/Styx/Library/AmdStyxLib/AArch64/Helper.S | 6 | ||||
-rw-r--r-- | Silicon/AMD/Styx/Library/AmdStyxLib/Styx.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/Silicon/AMD/Styx/Library/AmdStyxLib/AArch64/Helper.S b/Silicon/AMD/Styx/Library/AmdStyxLib/AArch64/Helper.S index b7ec02f0e6..19a2fc07f3 100644 --- a/Silicon/AMD/Styx/Library/AmdStyxLib/AArch64/Helper.S +++ b/Silicon/AMD/Styx/Library/AmdStyxLib/AArch64/Helper.S @@ -47,12 +47,6 @@ ASM_FUNC(ArmPlatformGetPrimaryCoreMpId) ldr w0, PrimaryCoreMpid
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
diff --git a/Silicon/AMD/Styx/Library/AmdStyxLib/Styx.c b/Silicon/AMD/Styx/Library/AmdStyxLib/Styx.c index f17a960d60..facfd61ca2 100644 --- a/Silicon/AMD/Styx/Library/AmdStyxLib/Styx.c +++ b/Silicon/AMD/Styx/Library/AmdStyxLib/Styx.c @@ -45,12 +45,6 @@ extern EFI_GUID gAmdStyxMpCoreInfoGuid;
-UINTN
-ArmGetCpuCountPerCluster (
- VOID
- );
-
-
/**
Return the current Boot Mode
|