From nobody Sat May 4 00:37:55 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1511890540004245.54178070025876; Tue, 28 Nov 2017 09:35:40 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 79039221660DE; Tue, 28 Nov 2017 09:31:15 -0800 (PST) Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2A98421A10983 for ; Tue, 28 Nov 2017 09:31:13 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id y21so860167wrc.1 for ; Tue, 28 Nov 2017 09:35:37 -0800 (PST) Received: from localhost.localdomain ([105.133.187.232]) by smtp.gmail.com with ESMTPSA id m133sm21164wmd.40.2017.11.28.09.35.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Nov 2017 09:35:34 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Bz2itAxuvlLPXsdlo5pqPCHaqLcKWZP1gZbd22LdnWM=; b=ibOewMBatlF97EMTCl4Y0FJHTwXUAoVJaXsQ4nFQ2JyHOaHTW4JYQgn2EPz6nqbopl Tk/QzlCoDJRTRvusvhFhio5BHYliEZ9w801afQ1EJyffP0GjrHmmX55ShDyXgMXngZbl Cq2rAx6HSBYiyBboUBhp8/PbKddcmwIwBglTQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Bz2itAxuvlLPXsdlo5pqPCHaqLcKWZP1gZbd22LdnWM=; b=N7Y0EeenBviL7fK8uO7EE2KacrNcWMqncWtTFsnPoQ+OmNjxq7Ujr2efkL57Anl9cq 8VwdiVaH6kHYg1zQnLPfJfZaYaXu7U0yYNaxpgSTLcNEquHIpUv6WBJP95qGZXUQTI0L ySd0O9uAk1Fx5CBY2MzH/Vi+MZfeybIusXmXinFpXJf+EaxDEtJkhHt2xtSpyo+XMttK wKLQahsApNYYlpn+2rW7fS4wagqLquLCHv3yO9fcyZyBDClzHhrziEDsDNaoFMtIfNTg Muxkfjlfogcuvo2tHNMBHkW3z6HBT+YUTr1bg8M/F8JSUHtLRGWc9J1Jxd3+Kvu5BiPv LAgg== X-Gm-Message-State: AJaThX6eidtDtMJDfTwj1eipwUfazsGqfx+lDvar3lEyFnZzQdPzedak IPWchYWX7lGkyYK+sIKljTviUAfg4DM= X-Google-Smtp-Source: AGs4zMZ6idK+xdFtQZ/Pu2aEW2eJuOJDrYE8aZkanbZSLWqwr3f18EtACnmKurC8aGvAdAIUlQM6RA== X-Received: by 10.223.169.68 with SMTP id u62mr34878619wrc.30.1511890535236; Tue, 28 Nov 2017 09:35:35 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 28 Nov 2017 17:35:26 +0000 Message-Id: <20171128173526.22413-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [PATCH] Silicon/AMD Silicon/Hisilicon: remove -ArmGetCpuCountPerCluster() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Leif Lindholm --- Silicon/AMD/Styx/Library/AmdStyxLib/AArch64/Helper.S | 6 ---= --- Silicon/AMD/Styx/Library/AmdStyxLib/Styx.c | 6 ---= --- Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/AArch64/Helper.S | 6 ---= --- Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.c | 5 ---= -- 4 files changed, 23 deletions(-) diff --git a/Silicon/AMD/Styx/Library/AmdStyxLib/AArch64/Helper.S b/Silicon= /AMD/Styx/Library/AmdStyxLib/AArch64/Helper.S index b7ec02f0e69f..19a2fc07f3d7 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 =20 -# IN None -# OUT x0 =3D 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 f17a960d60ad..facfd61ca230 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; =20 =20 -UINTN -ArmGetCpuCountPerCluster ( - VOID - ); - - /** Return the current Boot Mode =20 diff --git a/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/AArch64/Help= er.S b/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/AArch64/Helper.S index 3422df279c73..74e4aeeffc31 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 =20 -# IN None -# OUT x0 =3D number of cores present in the system -ASM_FUNC(ArmGetCpuCountPerCluster) - MOV32 (w0, FixedPcdGet32(PcdCoreCount)) - ret - //UINTN //ArmPlatformIsPrimaryCore ( // IN UINTN MpId diff --git a/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformL= ib.c b/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.c index 07ab0d1dc271..b59b9f027573 100644 --- a/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.c +++ b/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.c @@ -23,11 +23,6 @@ =20 #include =20 -UINTN -ArmGetCpuCountPerCluster ( - VOID - ); - extern EFI_STATUS MemInitEntry (VOID); =20 /** --=20 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel