From nobody Tue Nov 26 04:23:50 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+61052+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+61052+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=oss.nxp.com Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1591781679177680.691726486031; Wed, 10 Jun 2020 02:34:39 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id nIYSYY1788612xHrTWedHkw5; Wed, 10 Jun 2020 02:34:38 -0700 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.85]) by mx.groups.io with SMTP id smtpd.web12.726.1591737693453785037 for ; Tue, 09 Jun 2020 14:21:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LYl/qXSmhKTOV7jJXEul5Munz051o6zDhgKTXvlQe17HX9EJZpXUdHgTbranZc+iQaCslEbi7k2KjR0EnK0SRI4zjb0Sqsv2mHKkazvAGys/ZbWMbNAzb7ekHJsW9zF2zE0WsLQMwm139RphWDunGDmtZo8U5NDBsP9a5jml7TITmA2gFTOxDxvyW/htzo1C5QYUAxmePpoWqkSrtRBQy17a/6L0aEaub+Rn7uSl9ADJ6Oh6K9pCNStVOAxQOcrBWDvzIJ/d3PXCOalx8WKaa1BfKYb6Y7LRjyM3x+CJkTMzpGvL5d5Vm4DItZmnAq55s8g5jke7k0SmbflTO9Qkkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GQGZ48tu0HwKonIZTS7gB1h4Y0UPr/IuJSa6yNOXbAU=; b=i1fnNbsbE/iwzca+mM+rVGUKnD+XwP0S1/XQ4Gtcg9P0/bsm8FG7bF6OjPSOpARlbw3Gsinjp8P6DuKwgc/O1nxQ+btQozKxNAcxE9UdIaWEFit2LsLfn6Ubhpa4YrPArf+Lme2Rh3iJORGNo5XvrvMbX65mkGUs201g5Yhz1afsBkRubnbiwTn6WXAb/T/3l1Yy0qiTuacE3ZeU+U0s3axOMYoXam1ZsdxppE3jdHKJUJ4fyDDd4Vyu7nRK5iLLo+zlhoQz9ySFzi1ZAtoVbu0RT1yNQf4sdMrH0ZEjdiZffU2a+iCVwN+hIjUmer9TkXO3SYTY5hNEckojBmZjqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none X-Received: from VE1PR04MB6702.eurprd04.prod.outlook.com (2603:10a6:803:123::13) by VE1PR04MB6350.eurprd04.prod.outlook.com (2603:10a6:803:122::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.19; Tue, 9 Jun 2020 21:21:31 +0000 X-Received: from VE1PR04MB6702.eurprd04.prod.outlook.com ([fe80::81c4:97a6:7592:f225]) by VE1PR04MB6702.eurprd04.prod.outlook.com ([fe80::81c4:97a6:7592:f225%7]) with mapi id 15.20.3088.018; Tue, 9 Jun 2020 21:21:31 +0000 From: Wasim Khan To: devel@edk2.groups.io, meenakshi.aggarwal@nxp.com, V.Sethi@nxp.com, ard.biesheuvel@arm.com, leif@nuviainc.com CC: Wasim Khan Subject: [edk2-devel] [PATCH edk2-platforms 6/8] Silicon/NXP: Chassis3V2: define SVR macros Date: Wed, 10 Jun 2020 02:50:57 +0530 Message-ID: <1591737659-8051-7-git-send-email-wasim.khan@oss.nxp.com> In-Reply-To: <1591737659-8051-1-git-send-email-wasim.khan@oss.nxp.com> References: <1591737659-8051-1-git-send-email-wasim.khan@oss.nxp.com> X-ClientProxiedBy: BMXPR01CA0039.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::25) To VE1PR04MB6702.eurprd04.prod.outlook.com (2603:10a6:803:123::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-Received: from wasimk-VirtualBox.nxp.com (157.37.179.16) by BMXPR01CA0039.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3088.18 via Frontend Transport; Tue, 9 Jun 2020 21:21:29 +0000 X-Originating-IP: [157.37.179.16] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1c15a9a4-a75c-4bb5-356c-08d80cbb1424 X-MS-TrafficTypeDiagnostic: VE1PR04MB6350: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3826; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: m3gz7TiRzdureO3wEBuusc4zHnmGViQmsD+XA4hT5tVQ/858yceBzHCdT+amwUWhZTrvn1VmfM2bLa9aUmwkDdCtje4EGJcSPG2iiyO9xovYeyHb+tBZ2pcVPS+Y8LNmWlFl/5+weSqjJlldH6YaN2X/KqbW+d/mK39k1Fu9VyYZCdBxjM3nSQeVjyCnk2aPKmC2avqpybMhsU6K23A0rOBhQjeg3gKRHXpvyr26FF1sFdRewsLoG+7AwO1U5u3OJrj4FS91ncfjNf+u+RCdkxAMAhEZV+QY5X5m9cbNEaBSsaVWlU2GQUHlhIQuY2vhrheH0vAtwlWkh7q64w6FZA== X-MS-Exchange-AntiSpam-MessageData: gu9ApgFm0j9zARoKpogNH6LHRnHYUxAZiFscRHFmZ5LWnJWBgg1m3rVpamKeKXk+ulxWvqLILPl3D8jbE+lYo11euHUzTkhUh6UAaxI5IvPo27e56ZBIfCs3H7JcXvIjwrq/NuN9x4a+Gg26NI0hWsiNxIqNrVwcwbgJc3OIAdbcgvXjn6pjdPn4g8hWE3kxz3bOsqJmU1yiTaxnVAI+NMfb3ZLahQLG96VcG3EBk+SLxcYVtIM7jGeGqB80ngVaFQLI2wnet1adykm3a9cmjr6fQZn4tfZ4wtyCpEsrvgYVsUn7NdzhsHsXk7XY9RhAZwQsX6rOd3gsQoKPLkibolO7C3aZSlIlHumoP2WQlhmGsQ/iHirgmDVxIGe8dbtlDbHuTMXLzNdgf8qbs1uWsAmLEi2QQKIukEDxYjzugp8RjEiVUxFi8IenL9uhiikXokHKMVjQ/SQgbq3WOIkZ7h78fpz+QS0XaBtbitquy5IrHr7sdv4cSGZicvbH85gU X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c15a9a4-a75c-4bb5-356c-08d80cbb1424 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2020 21:21:31.2528 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8zuOASbGkWNfhl5kydxVmFc8grQQRoDjad920gjzNlYtKb8cgJHD5+1+Vks5DXLc8v/EqdUb5EtBKzsGr1EEdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6350 Precedence: Bulk List-Unsubscribe: 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,wasim.khan@oss.nxp.com X-Gm-Message-State: 0KFM4gCkWbCoV08BEh9Sd42Mx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1591781678; bh=NhNzQ5uvcHBUkMX9vWUBbiO+qEZi+kR9kNkknSEb8/Q=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=t5QIBx/GMGNnYlWo6OchksxCpQ/ZfBgZQ5jFa8WTJ9SuGb9pUKGLZGQZXMimJbL4hRx hZqgXNcZsZzxm9PhYBtRqbwdv0APjdXLYkNmEUbbNiDS3DjzISkizIJ/PrbFsgeCgTU7D KR3CBPBcSHOG55N5/wi3bWyRpdZKX5KBQoM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Wasim Khan Define macros to retrieve System Version Register(SVR) related information Signed-off-by: Wasim Khan --- Silicon/NXP/Chassis3V2/Include/Chassis.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Silicon/NXP/Chassis3V2/Include/Chassis.h b/Silicon/NXP/Chassis= 3V2/Include/Chassis.h index cbc6b20e244d..c302e5c9a719 100644 --- a/Silicon/NXP/Chassis3V2/Include/Chassis.h +++ b/Silicon/NXP/Chassis3V2/Include/Chassis.h @@ -12,6 +12,10 @@ =20 #define NXP_LAYERSCAPE_CHASSIS3V2_DCFG_ADDRESS 0x1E00000 =20 +#define SVR_SOC_VER(svr) (((svr) >> 8) & 0xFFFFFE) +#define SVR_MAJOR(svr) (((svr) >> 4) & 0xf) +#define SVR_MINOR(svr) (((svr) >> 0) & 0xf) + /** The Device Configuration Unit provides general purpose configuration and status for the device. These registers only support 32-bit accesses. --=20 2.7.4 -=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 (#61052): https://edk2.groups.io/g/devel/message/61052 Mute This Topic: https://groups.io/mt/74793009/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-