From nobody Sat Mar 7 06:11:39 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+113195+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+113195+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1704394207; cv=none; d=zohomail.com; s=zohoarc; b=fwRCHrqKTbROxs1vLl87wCrW0nNTQouoT9bmPQRK16X6BocI6I+UC3eJHqsCbh4+xePKXbpwsHGZ/CCALlf/pSG/8NPwAae6cBNtWjF6vxpkPR1l/F7c437IUQkG/asw4/WdRAkVO0K1D+oIs3Fqu6ee+VaWBMxzBISO7rVDdLI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1704394207; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=hjAGxLW9zwWkBlEW6QR+Hu0RyYm9MeToQ0i3ykAih8c=; b=G7QBBZRslPG3Q7KleZFQy9R5UJNOpQ3Zpf7uz/4m4m9M6MeJksrLTTFvg/6Kgg7VPydzO5JgoDSnvZUlRZ5ivAGWd2CCUp2Fb5iqCTTqYtSuQ7PpVTYVshScvFIWRE3awq7Y49aKYIZ1ctKXyjGnly2XYvuVklREel5pF6c5HDM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+113195+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 170439420702858.44951635541622; Thu, 4 Jan 2024 10:50:07 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=FfhV4MRoHNJSC2GhGkI7dBGUaMqDIntIYTb7IX9ODtE=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1704394206; v=1; b=bTuWJIMjllUbyu4nNV0Xnb7r4GS31FtSxYAUk8MbX1ghukrsyvxPtfK56jgWIbouUsp7w7bc R/K+kSB0xsxTt05onTzKrf7Prggsj8Vrd+1P7/6JSJ9fRqu/+MPerM84O19Q2J/v1VYmk1YPKTi mnePVIuQJBdD5yKlNHEuoccs= X-Received: by 127.0.0.2 with SMTP id HimPYY1788612x0jF0Aw2wd7; Thu, 04 Jan 2024 10:50:06 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.2024.1704394206189905424 for ; Thu, 04 Jan 2024 10:50:06 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D0CBAC15; Thu, 4 Jan 2024 10:50:51 -0800 (PST) X-Received: from usa.arm.com (a079755.arm.com [10.162.46.129]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 270B93F64C; Thu, 4 Jan 2024 10:50:03 -0800 (PST) From: "Prabin CA" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar , Prabin CA Subject: [edk2-devel] [edk2-platforms][PATCH v1 6/7] Platform/Sgi: Add a PCD to specify platform variant Date: Fri, 5 Jan 2024 00:19:32 +0530 Message-Id: <20240104184935.3028480-9-prabin.ca@arm.com> In-Reply-To: <20240104184935.3028480-1-prabin.ca@arm.com> References: <20240104184935.3028480-1-prabin.ca@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,prabin.ca@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: o1cljPCdhDsW28gABkH3Qyc7x1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1704394208312100035 Content-Type: text/plain; charset="utf-8" A new PCD named PcdPlatformVariant is introduced to specify the variant number of a platform. This PCD can be used to select platform variant specific configurations. The default value of this PCD is 0 which selects the base variant. Signed-off-by: Prabin CA --- Platform/ARM/SgiPkg/SgiPlatform.dec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dec b/Platform/ARM/SgiPkg/SgiP= latform.dec index 1613cc01981e..103dff8471a7 100644 --- a/Platform/ARM/SgiPkg/SgiPlatform.dec +++ b/Platform/ARM/SgiPkg/SgiPlatform.dec @@ -1,5 +1,5 @@ # -# Copyright (c) 2018 - 2023, Arm Limited. All rights reserved. +# Copyright (c) 2018 - 2024, Arm Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -51,8 +51,9 @@ [PcdsFixedAtBuild] gArmSgiTokenSpaceGuid.PcdVirtioP9Size|0x00000000|UINT32|0x00000029 gArmSgiTokenSpaceGuid.PcdVirtioP9Interrupt|0x00000000|UINT32|0x0000002A =20 - # Chip count on the platform + # Chip count on the platform and platform variant gArmSgiTokenSpaceGuid.PcdChipCount|1|UINT32|0x0000000B + gArmSgiTokenSpaceGuid.PcdPlatformVariant|0|UINT32|0x0000002D =20 # GIC gArmSgiTokenSpaceGuid.PcdGicSize|0|UINT64|0x0000000A --=20 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113195): https://edk2.groups.io/g/devel/message/113195 Mute This Topic: https://groups.io/mt/103528436/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-