From patchwork Wed Nov 15 16:56:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 118981 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4546613qgn; Wed, 15 Nov 2017 08:56:57 -0800 (PST) X-Google-Smtp-Source: AGs4zMYDUOtyTr9lme2QBCiBIfazduLkondcOQoDmQ5Cb3KTTcZeOrWd0CHGlQbbwzSlw3xffQHp X-Received: by 10.101.78.7 with SMTP id r7mr6987210pgt.209.1510765017100; Wed, 15 Nov 2017 08:56:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510765017; cv=none; d=google.com; s=arc-20160816; b=FMDM08Ily9MLdrgLqq42XKTmWszl9iJi6oj4ZbIMiV752rBTOSscKes+321/sq+ctk sD5DMvLJtNM02M5A3j8CkJBC8sI0O+4E/DjiTiNFq66h+jhsDpAdkTu61RxBPo8XNLRm jSiSobo6eE9+YyhwidkYYKwyEznitYP9r8l7HFTVc+ZXJvXyT6u42JJIdH+5CE7MK3s2 xaTQ1D0Kcc4JvBalVjV7nZX2NqjOwCS5QR/WHiCMBYKZOsGqO5iDYENydCN7dns1YLEc TFxX+XMa0wL6y+gRs9SbPJuhxKwMURtihp6p3a7vlcWB3Y2e10C4uchWh3sJJA41i1hA OcWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=LTxDWrYOQWF+fcXvMfTcbophqcs/30cBsZhZl2fDdd0=; b=a8BaDlqGWQPqmHX2n8NC+sNlSpo/4c6QbGw8VvWH7iD8DEScwwePultWHxZjdFiIP6 z+ex3QJdzfjN3lZ9VlOFJcUxTKarq2BDc61Nz4ZVYR/uD+qOmGFpVqbl0/+kn3uaXU8a Ui6zFrKWI6q52deDwEA+oYDQ1RpMemeGqZdJA5Ihod+zWQBEnhFz7c8krOAXTX6V4Ps5 GyWb9gXvWxM9uRFOpkjYXTJwjltejAAb+Bwwu8IzPSw2wHslEbFUoa/mXBoSk/7PXyyJ liKFY5JLPxsGADdKwbTmWZpALXtuPA2AWM3srUTJiHZjm6589aUOdE6T8oE0dbE5KlD3 wJRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ivHaMDcO; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id e29si5714186pgn.215.2017.11.15.08.56.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 08:56:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ivHaMDcO; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id E440C20356887; Wed, 15 Nov 2017 08:52:47 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::241; helo=mail-wm0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (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 ADCF421B00DC4 for ; Wed, 15 Nov 2017 08:52:44 -0800 (PST) Received: by mail-wm0-x241.google.com with SMTP id z3so4334898wme.3 for ; Wed, 15 Nov 2017 08:56:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=oIJopCKfr1V6AshF8+GhdhnbkzrTb/mqJzoWkIMqy7w=; b=ivHaMDcOZJdPJ1NGPKALXofZKCh7UcBcvWGGqWZtMiaTfFc4aDH+n8YKusZs5c3Tgt V9IE0xTL+WkvrhSCFQPcRHaYYdl+0qcj3Q+vFfCmejg1omJBrNBP3Ic63+PD1wum+ki4 Kkf3lCzQIhUZJkvHXkVzDNJUt1PMNIZ3aTev4= 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:in-reply-to :references; bh=oIJopCKfr1V6AshF8+GhdhnbkzrTb/mqJzoWkIMqy7w=; b=Ri5GzYeVjt8luDwV4hNSOc1AD+3aDrA46zsLrOxn/RwM2rDTothIv3GKLqqck8xwGq 3qcu8EARlLiiqc/4rBOGjNEzu5RwCxzZbupNl6NYAm8PeyZAjvjUNYsMfKgYi2XMmeeb o3ra6PqyyIiO6r5pi07FrzzvYT4CPvGDNy4h58FQfoQwwVBlBUpGQruUn33WJX4fXX5a kyJvxCqjJlf8J/reXIS4KOWNGdwuHX0M+jltNqh5Zhp1djkbf2SslKiiFQuPdAAnimhj lWLhcVjLIankZoN1QJ3NRCImMO2HiXWk3JwUIIOUWfX61JbLfo/CkKIyFCG0HJfm+AdY 9VjQ== X-Gm-Message-State: AJaThX6LtFcesQ4ZSbJhOsZqCYRH4r0QiG1tqG7o6DEYs00ksCNTDs0u cQS6ynzdlBh04m91YfaqyJANkQBVX5w= X-Received: by 10.28.29.207 with SMTP id d198mr8995654wmd.106.1510765011739; Wed, 15 Nov 2017 08:56:51 -0800 (PST) Received: from localhost.localdomain ([160.167.170.128]) by smtp.gmail.com with ESMTPSA id p15sm5673089wre.24.2017.11.15.08.56.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 08:56:50 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Wed, 15 Nov 2017 16:56:19 +0000 Message-Id: <20171115165637.31118-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171115165637.31118-1-ard.biesheuvel@linaro.org> References: <20171115165637.31118-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 01/19] ArmPkg: remove unused ArmGicSecLib library implementation 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: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" This module is not used anywhere under edk2 or edk2-platforms, so let's remove it. This removes the only dependency on ArmPlatformLib from ArmPkg. While at it, remove a mention of ArmPlatformPkg from a comment in the .dec file as well. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPkg/ArmPkg.dec | 4 +- ArmPkg/ArmPkg.dsc | 1 - ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf | 52 ---------- ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2SecLib.c | 100 -------------------- 4 files changed, 2 insertions(+), 155 deletions(-) diff --git a/ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf b/ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf deleted file mode 100644 index fc2e1bc01efe..000000000000 diff --git a/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2SecLib.c b/ArmPkg/Drivers/ArmGic/GicV2/ArmGicV2SecLib.c deleted file mode 100644 index ac1e0e49450c..000000000000 -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPkg/ArmPkg.dec b/ArmPkg/ArmPkg.dec index f99054a7de3e..f3fb77c16f75 100644 --- a/ArmPkg/ArmPkg.dec +++ b/ArmPkg/ArmPkg.dec @@ -224,8 +224,8 @@ [PcdsFixedAtBuild.AARCH64] [PcdsFixedAtBuild.common, PcdsDynamic.common, PcdsPatchableInModule.common] # System Memory (DRAM): These PCDs define the region of in-built system memory - # Some platforms can get DRAM extensions, these additional regions will be declared - # to UEFI by ArmPlatformLib + # Some platforms can get DRAM extensions, these additional regions may be + # declared to UEFI using separate resource descriptor HOBs gArmTokenSpaceGuid.PcdSystemMemoryBase|0|UINT64|0x00000029 gArmTokenSpaceGuid.PcdSystemMemorySize|0|UINT64|0x0000002A diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc index cf9a5c12108b..382e99868453 100644 --- a/ArmPkg/ArmPkg.dsc +++ b/ArmPkg/ArmPkg.dsc @@ -123,7 +123,6 @@ [Components.common] ArmPkg/Drivers/CpuPei/CpuPei.inf ArmPkg/Drivers/ArmGic/ArmGicDxe.inf ArmPkg/Drivers/ArmGic/ArmGicLib.inf - ArmPkg/Drivers/ArmGic/ArmGicSecLib.inf ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf ArmPkg/Drivers/TimerDxe/TimerDxe.inf From patchwork Wed Nov 15 16:56:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 118982 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4546821qgn; Wed, 15 Nov 2017 08:57:10 -0800 (PST) X-Google-Smtp-Source: AGs4zMbHbxRHfXK2AA9ysacqLa9CIxNgnvRHRVPUKSUxFBzJJNNexFA4sHRWIoNip1pqCOq8uIpo X-Received: by 10.84.197.3 with SMTP id m3mr16290981pld.107.1510765029999; Wed, 15 Nov 2017 08:57:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510765029; cv=none; d=google.com; s=arc-20160816; b=Py5a0uaDmknba5YdApseRm8m4ZtZCNMjNYXtGFmWTJwpsqlBrm8SsPK5HSoLdIGktz caOkxqc4Jk4+0BOHcAO+ZYdEIz1aSXpPYYwcUqDijeZI7cRg088HC67dgL0nuf7znUb+ BoYrHYumDehmEIbZJXSofXDz2QbmwKf9lU7p3kAV4is3TVi08ejtbGQhyUBJ/mC96jc/ mv+K1t6OGD3djLek8sJKzCETfaYQfpLhjZM7XaRz0vh8ma1JM1uINMIwV/OqmFZPzz9M lRjLWqz/G4pKXFJ0BxDIRte6aIsl8ucaLy+cuMskpfycyqY1i7CBWLm3m2EMHfYTvlHX 9OsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=E9x5qMLohsNd+uTecV95V870i515xV5y8xJPTq4r7EU=; b=KVhvlqc6DpMvfJU1qY4IDtpQTQg1JCkTrtP5TM919TMcDl7FKbwHEkdhHtXn6gvar0 wcyxJ2zEMRwe/5pIC5X66Qv7+Cu3RXe9UxzsUo/VJ5AFgVkeWuCxLNUihU98Jz2Iea1f KbNCBcArAhwIM4ueSpKy/iUkaHNsdthUpYYTqjzrKKvOyz4hg4aRRE8k0BitgyFBZW8x hyYVbQEec9sum1dnKnMyXVeLIhANHbygV+s+SFEO5JFf+BvLQPeyuLUPF11x+6yoj38F i2DdcaqN0Q6cX11HV04nrEGBTppQ35mmUzL2JJWW56jfWPYJD26ciFJfjgczi/XY2qlg /j2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FUgvBofA; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id c80si20224648pfb.238.2017.11.15.08.57.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 08:57:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FUgvBofA; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id D291A21B00DF6; Wed, 15 Nov 2017 08:52:53 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::243; helo=mail-wr0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) (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 CECB421B00DF6 for ; Wed, 15 Nov 2017 08:52:51 -0800 (PST) Received: by mail-wr0-x243.google.com with SMTP id u40so20999414wrf.10 for ; Wed, 15 Nov 2017 08:57:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OcELi4cKB/cUUnaHbZwAEwlZ+jZ0QJb/ED9sUoUB6yM=; b=FUgvBofASUcExPkUWeRVJboUgIs0du2X6i3vyJPnTIQ+v+LNtKiPyfa5MQUkqg9shH 6lqU2M3Pu1hoETpv53SDknDlvjWK6uZvzjJ9ceeQ7WEiQSnH2UZ1dLLmVuhEvh0yYHGC HEXWV7GnW+2PLQFqx8b9x/XpkmTii694+d7Is= 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:in-reply-to :references; bh=OcELi4cKB/cUUnaHbZwAEwlZ+jZ0QJb/ED9sUoUB6yM=; b=ENABQSb5cAauwH75A5WMFt1jpmfETOCx7ddX7ubG8Xt92bPP7phDhk7VLxPqqknLzU Eu5022tGS39/PNZ2vgNv1cnkJX/dHpOXuXf5Gy2Wf8FVAk5ktxup5KQTU+q6l0BthOjN XvC7HRMXm3PHtArQFth0CXcDwc53tD4Vie3o07j4jLvA+IN/Tgeth6Bs1V8MaybfbeSZ S5lOoQcHkfzKbLzG/INs8GocyrFY4zItuF4hkLPwgynLMap7AwlXQdfuI/YsClWRkqa2 tqoeQkoF7Rpgx9a3JzwBRjBMv/S7XHOi3V6cRUbIIqX4wmO0vUmXG9DGQtZh9BVVcJNQ zL8Q== X-Gm-Message-State: AJaThX5lkK93LtRTVdGq3MvdcbrcMTWkDR20ZEVGRo40tRJbdyQhhdCH 4ObBLzFyePhT/+ILa8Z7lc1bXGhdYmc= X-Received: by 10.223.167.65 with SMTP id e1mr14778656wrd.280.1510765018801; Wed, 15 Nov 2017 08:56:58 -0800 (PST) Received: from localhost.localdomain ([160.167.170.128]) by smtp.gmail.com with ESMTPSA id p15sm5673089wre.24.2017.11.15.08.56.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 08:56:58 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Wed, 15 Nov 2017 16:56:23 +0000 Message-Id: <20171115165637.31118-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171115165637.31118-1-ard.biesheuvel@linaro.org> References: <20171115165637.31118-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 05/19] ArmPlatformPkg: remove ArmGetCpuCountPerCluster () from ArmPlatformLib 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: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" The only user of ArmPlatformLib's ArmGetCpuCountPerCluster () is itself an ArmPlatformLib implementation, i.e., ArmVExpressLibRTSM. Given that we'd prefer to get rid of ArmPlatformLib entirely, let's remove ArmGetCpuCountPerCluster () from the API as a first step. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c | 13 +++++++++++++ ArmPlatformPkg/Include/Library/ArmPlatformLib.h | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c index d8d1c9ac26dd..11dd7ff1bfb0 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c +++ b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c @@ -21,6 +21,19 @@ #include +/** + Return the core per cluster. The method may differ per core type + + This function might be called from assembler before any stack is set. + + @return Return the core count per cluster + +**/ +UINTN +ArmGetCpuCountPerCluster ( + VOID + ); + ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] = { { // Cluster 0, Core 0 diff --git a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h index fe3bc4bb8e6c..77561a3d05b3 100644 --- a/ArmPlatformPkg/Include/Library/ArmPlatformLib.h +++ b/ArmPlatformPkg/Include/Library/ArmPlatformLib.h @@ -41,19 +41,6 @@ typedef struct { } ARM_SYSTEM_MEMORY_REGION_DESCRIPTOR; /** - Return the core per cluster. The method may differ per core type - - This function might be called from assembler before any stack is set. - - @return Return the core count per cluster - -**/ -UINTN -ArmGetCpuCountPerCluster ( - VOID - ); - -/** Return the core position from the value of its MpId register This function returns the core position from the position 0 in the processor. From patchwork Wed Nov 15 16:56:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 118983 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4547063qgn; Wed, 15 Nov 2017 08:57:22 -0800 (PST) X-Google-Smtp-Source: AGs4zMZidnQbz4YSyqL7ARp5PKP4QaT0RTPMuHaqIOLHhXvQhTdYXgHELihRKikDN939H5NJeXpc X-Received: by 10.159.205.130 with SMTP id v2mr2312715plo.105.1510765042206; Wed, 15 Nov 2017 08:57:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510765042; cv=none; d=google.com; s=arc-20160816; b=HmE4KKGto13ol8SLbmtkyqRiaZ9lneIpgMvyKkVWHNN7u/CUqmnV1RaD1olsieKe7q HbRf0qWkuxy6Znvdcm7oRCeui4J0r1svGgAA7K77uTZEGC/q+spcATFW+uICtJzmNJjt GaGQxwUecCClzz8MbigBi/HGEQtN8ru1cqNLVt6TTOLPjyDXFCDwLTqXZ0wO12RMmaRH 5WskyUaF4PFt6Hzqf3v1nvVJLFCP9OuvY6aLUzunbZwYNMNYScyoAv0XxFQlUFKRNKSU jdMe/TJu4i+nAMKPRGVQZyopy1kKZTgdqD0Y61F6mkPF2f+OcHLTI3tjyhIzmTenQ9Di 4e3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=sWllmqMFrVfWpQFmvzv9zb+BEcOXKpcZqksbtHmb6d8=; b=pCm9dbUHO7Tu7opNC5DCrUzRw8kpZS0qWcxT45khga7RD0JYtJS8NTljKE7IV21ROj sFR3wcHysc8PpnfrISLb2kUk3uiD+jjmKrYHhYJjr97IAHx4ocUjjzIWk1gMtXdiDdcW yzHpnOLMk9PeQWKNwtKKT0OY8O7FLJno2QvZm/IC6TJ7lUaSh1L1folHfxSc/dPQxgbA FmulQt2IMwT4xFysP5pLG6fJ6spZ29M6fu5Be7+BsQh14nkUqtnGqj/jqoNUotSTt+IJ NHcFrAsXN1KfqfUR5wfSDx1XmibHuVgZO+f7kkR+BcT1NaeNwtjSOQAGjIaQrfKrrCp2 LPcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZQSy0Ol9; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id q10si20079207pfc.183.2017.11.15.08.57.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 08:57:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZQSy0Ol9; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 937D12035689A; Wed, 15 Nov 2017 08:52:58 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::22f; helo=mail-wm0-x22f.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 D207920356894 for ; Wed, 15 Nov 2017 08:52:56 -0800 (PST) Received: by mail-wm0-x22f.google.com with SMTP id t139so4372292wmt.1 for ; Wed, 15 Nov 2017 08:57:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uUUXAoZMD1uJYtVJXqWW4G0eWcMLD52krS0bm/GOEPg=; b=ZQSy0Ol9P9qiEux/EDh9RLovw8J7RxYeVFwSmKbYwYmDdNLbFXLObo4vXB1OTP9ETU 6KaeEJCK82kTiVDYNR9BIjXhnAFPbJz2a8mE3NsPYNQyJBiudxwTB5q+s0HYjcMWgx2h 282Ovx/UE46aBS4slgPmkTtckr0ZalaS4lihY= 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:in-reply-to :references; bh=uUUXAoZMD1uJYtVJXqWW4G0eWcMLD52krS0bm/GOEPg=; b=ogIvdprLa+FFJGuvFW0a6trbjltCm5rfzpIPsTdwauaI/XI0ZNcd/CI/DVbm5Tnykk tj5RHH51GxLBx+4x11h8UVB9OnBXJ0V6MInMjYxkwqbqCyMCpFH323psUBt/9+5W2ctl iSkVtlRRxzEeZapYoR4lJTlmdwZDcKdJvwXzwWPMIfLEVd4DhiDk6lG4mkgAAsCVucCd XlV/A2ZJd2ZrSZ6DyzxTkWSizLgObPT2yqevoQMygJqnpZqXG0TGxyi/EmsYgZxELfK4 Kc79nFYHukKlPAQmvSNXQlmw0d9DB0hxoODufdeoGdGswNyr5CAKZbOAs8Xhuxs+glEW B8iA== X-Gm-Message-State: AJaThX6eTPek63NV7pH+euY/r8GdaGomsBt26V9UpTHDXAxUCJVdvbWX Q0IWtpI+sZ0Q9j7d2kxzZbCGtTGNBco= X-Received: by 10.28.138.12 with SMTP id m12mr13357403wmd.134.1510765023903; Wed, 15 Nov 2017 08:57:03 -0800 (PST) Received: from localhost.localdomain ([160.167.170.128]) by smtp.gmail.com with ESMTPSA id p15sm5673089wre.24.2017.11.15.08.57.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 08:57:03 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Wed, 15 Nov 2017 16:56:26 +0000 Message-Id: <20171115165637.31118-9-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171115165637.31118-1-ard.biesheuvel@linaro.org> References: <20171115165637.31118-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 08/19] ArmPlatformPkg/PL031RealTimeClockLib: drop ArmPlatformSysConfigLib reference 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: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" The PL031 driver implements a VExpress/Juno specific hack to set the battery backed clock in addition to the PL031. However, none of the remaining VExpress based hardware we support in EDK2 actuall implements this feature so we can just remove it, and get rid of the cumbersome dependency on ArmPlatform.h. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c | 43 +++----------------- ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf | 1 - 2 files changed, 6 insertions(+), 38 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c index 459dcc0a0519..1334ad446cd9 100644 --- a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c +++ b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include @@ -38,8 +37,6 @@ #include -#include - STATIC BOOLEAN mPL031Initialized = FALSE; STATIC EFI_EVENT mRtcVirtualAddrChangeEvent; STATIC UINTN mPL031RtcBase; @@ -133,6 +130,11 @@ LibGetTime ( EFI_STATUS Status = EFI_SUCCESS; UINT32 EpochSeconds; + // Ensure Time is a valid pointer + if (Time == NULL) { + return EFI_INVALID_PARAMETER; + } + // Initialize the hardware if not already done if (!mPL031Initialized) { Status = InitializePL031 (); @@ -141,27 +143,7 @@ LibGetTime ( } } - // Snapshot the time as early in the function call as possible - // On some platforms we may have access to a battery backed up hardware clock. - // If such RTC exists try to use it first. - Status = ArmPlatformSysConfigGet (SYS_CFG_RTC, &EpochSeconds); - if (Status == EFI_UNSUPPORTED) { - // Battery backed up hardware RTC does not exist, revert to PL031 - EpochSeconds = MmioRead32 (mPL031RtcBase + PL031_RTC_DR_DATA_REGISTER); - Status = EFI_SUCCESS; - } else if (EFI_ERROR (Status)) { - // Battery backed up hardware RTC exists but could not be read due to error. Abort. - return Status; - } else { - // Battery backed up hardware RTC exists and we read the time correctly from it. - // Now sync the PL031 to the new time. - MmioWrite32 (mPL031RtcBase + PL031_RTC_LR_LOAD_REGISTER, EpochSeconds); - } - - // Ensure Time is a valid pointer - if (Time == NULL) { - return EFI_INVALID_PARAMETER; - } + EpochSeconds = MmioRead32 (mPL031RtcBase + PL031_RTC_DR_DATA_REGISTER); // Adjust for the correct time zone // The timezone setting also reflects the DST setting of the clock @@ -235,19 +217,6 @@ LibSetTime ( EpochSeconds -= SEC_PER_HOUR; } - // On some platforms we may have access to a battery backed up hardware clock. - // - // If such RTC exists then it must be updated first, before the PL031, - // to minimise any time drift. This is important because the battery backed-up - // RTC maintains the master time for the platform across reboots. - // - // If such RTC does not exist then the following function returns UNSUPPORTED. - Status = ArmPlatformSysConfigSet (SYS_CFG_RTC, EpochSeconds); - if ((EFI_ERROR (Status)) && (Status != EFI_UNSUPPORTED)){ - // Any status message except SUCCESS and UNSUPPORTED indicates a hardware failure. - return Status; - } - // Set the PL031 MmioWrite32 (mPL031RtcBase + PL031_RTC_LR_LOAD_REGISTER, EpochSeconds); diff --git a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf index aa06a41d0b2a..a3e4f73e7d05 100644 --- a/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf +++ b/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf @@ -34,7 +34,6 @@ [LibraryClasses] UefiLib DebugLib PcdLib - ArmPlatformSysConfigLib DxeServicesTableLib TimeBaseLib UefiRuntimeLib From patchwork Wed Nov 15 16:56:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 118984 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4547813qgn; Wed, 15 Nov 2017 08:58:10 -0800 (PST) X-Google-Smtp-Source: AGs4zMb4vhoMlxEkxJznfgkPwSUKPTYuw8POhq7EydVaGi1KqZRiFGcVKUoNBW8UKHjtjjp1YS9I X-Received: by 10.98.98.132 with SMTP id w126mr18405159pfb.208.1510765090045; Wed, 15 Nov 2017 08:58:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510765090; cv=none; d=google.com; s=arc-20160816; b=yGxkQqxDcGe8sxHBnfEzX2q+/wLDMG9Gi9Dw2yfafxw/ql2aGiw9oIqcKzqviAvsYt p2yVpyvA+zXE29morwhxadmqQ1fGuyWTz+TlajYdEYZCkojtV9bhd9udWU9It+7gM2/x VdAuP3UOgc7GbEVqHgm4pS4LNwF2VRaTWBnW9uAwhWGo2BsnBrgrw5sl+2bcXSeV60Z1 vtQ68rqxVUGdvSOeruFgkGnCcCymuPDqs8ETsHk2xGLWUxXbDfiBbPlnsRil7SVl99oa zLYDiAJ20reqiXzCrNXjDlWPxbnqm/jW8CD+tDkb025M6TUQvw6ypFfH6PAFBAWPDOZk WFzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=IXfZ4as2DxMwwb+/ZXvLDOe9VYDLBQEZeAY8mOylHhw=; b=BXxYd0T60kZ4Ub7fCXWUF5WKL6fzfFCc4cDKscHb8cT6uCoQlPbg27wDzx4XzHBeGG zcA1uORVxZrRQYLLlyGKjiv/d2jJrlh/f9ZLdx621dVHBp0FCIgrBChP25lHPYYVd23Z W+dbpQUHM2AcxQyHBg1VNs7tzH8VC/ybThta65KbbDN6pac49+HgUVQGlQ8kgppCiJSa kCpnjyc6iEjfFCiMp60ROXI1gAPOe1JLWFxGuEqGceKcIjomhrGRK1TH21e3KMboRWpg Aw8kocB0e+2X039L/so+p0bj+CigvVBCPStk1aV4GAKjD2is1Paoyj6odI6gae0OmXam 6HlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=U4IpHgTh; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id t18si5712104plr.60.2017.11.15.08.58.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 08:58:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=U4IpHgTh; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id A452420359A93; Wed, 15 Nov 2017 08:53:12 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::244; helo=mail-wm0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::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 9B2612035A7A7 for ; Wed, 15 Nov 2017 08:53:10 -0800 (PST) Received: by mail-wm0-x244.google.com with SMTP id r68so4382844wmr.3 for ; Wed, 15 Nov 2017 08:57:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nmbbClop5NPKW+t5dOUTecVTybls1vCJSABFjoOgX2U=; b=U4IpHgThMU5NdteV6BtC3vwnLjcIqIpgMcJrG4ZeZCi8LsY6SgRCVozyEmEeDk0PDF 1ppZIlUx6KbT2WNKpoe1ehMPxW0NhCvQYRx+AfkVuT2CiQ6KzIqk40Y+Y+Fs3m3f17ot m60Dn8Dor0ConCMmMukQ/U54b/QhjQNbFg1TI= 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:in-reply-to :references; bh=nmbbClop5NPKW+t5dOUTecVTybls1vCJSABFjoOgX2U=; b=X64qUSjgOrRc1Lgek7HssOTKAfDFO4L3n4UmVzdnN9logFLHFQZUOIE/dnSYVgWoDX 09Kr33bcdMYqQIbjgGTwDNIINYbEZQ2U5kF5Uiuv9YpI3lCRbVVZdIuIQuKs2FpRlQW3 /cThfslFIEc4fiLEPYoVvrPEgaHuVTZpHqtMY6fDZFNiuSh9/n0FrwUt/loKOcnu1LqP wYjWweO6Ty/fg/psthGfv/AhCIlCQR1GY4muLD/g0La5OwEbRwSxIUnnRnEaCH4vEML6 r7bhzIgbL0b7Vv8MQo8cPLofEIpUv8pserOyGsdOaXt6C8BuzuZGSatxU2zm3iGXRR91 61yA== X-Gm-Message-State: AJaThX5G9Fs7ZmIWvAmUPrT/RYHXsJpttuDhfpa94APrjiP9kW0rjtNt yzhNTJ0hYNytYcXqZUe1eB5goHMD6J8= X-Received: by 10.28.27.206 with SMTP id b197mr2276544wmb.96.1510765037691; Wed, 15 Nov 2017 08:57:17 -0800 (PST) Received: from localhost.localdomain ([160.167.170.128]) by smtp.gmail.com with ESMTPSA id p15sm5673089wre.24.2017.11.15.08.57.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 08:57:17 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Wed, 15 Nov 2017 16:56:34 +0000 Message-Id: <20171115165637.31118-17-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171115165637.31118-1-ard.biesheuvel@linaro.org> References: <20171115165637.31118-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 16/19] ArmPlatformPkg: remove unused SP804 driver and TimerLib implementation 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: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" None of the platforms we support use these so remove them. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/ArmPlatformPkg.dec | 7 - ArmPlatformPkg/Drivers/SP804TimerDxe/SP804Timer.c | 395 -------------------- ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf | 59 --- ArmPlatformPkg/Include/Drivers/SP804Timer.h | 57 --- ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.c | 256 ------------- ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf | 44 --- 6 files changed, 818 deletions(-) diff --git a/ArmPlatformPkg/Drivers/SP804TimerDxe/SP804Timer.c b/ArmPlatformPkg/Drivers/SP804TimerDxe/SP804Timer.c deleted file mode 100644 index 7ae25e9bb92a..000000000000 diff --git a/ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf b/ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf deleted file mode 100644 index 386d9649efab..000000000000 diff --git a/ArmPlatformPkg/Include/Drivers/SP804Timer.h b/ArmPlatformPkg/Include/Drivers/SP804Timer.h deleted file mode 100644 index 904b13c19325..000000000000 diff --git a/ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.c b/ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.c deleted file mode 100644 index 16798e9ba97f..000000000000 diff --git a/ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf b/ArmPlatformPkg/Library/SP804TimerLib/SP804TimerLib.inf deleted file mode 100644 index fb5cc189261e..000000000000 -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPlatformPkg/ArmPlatformPkg.dec b/ArmPlatformPkg/ArmPlatformPkg.dec index 2d82ead7612a..8df7c8adf9f5 100644 --- a/ArmPlatformPkg/ArmPlatformPkg.dec +++ b/ArmPlatformPkg/ArmPlatformPkg.dec @@ -81,13 +81,6 @@ [PcdsFixedAtBuild.common] # ARM Primecells # - ## SP804 DualTimer - gArmPlatformTokenSpaceGuid.PcdSP804TimerFrequencyInMHz|1|UINT32|0x0000001D - gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|0|UINT32|0x0000001E - gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0|UINT32|0x0000002A - gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0|UINT32|0x0000002B - gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0|UINT32|0x0000002C - ## SP805 Watchdog gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x0|UINT32|0x00000023 gArmPlatformTokenSpaceGuid.PcdSP805WatchdogClockFrequencyInHz|32000|UINT32|0x00000021