From nobody Tue Nov 26 03:30:07 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+61066+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+61066+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 1591781685908496.53460845715665; Wed, 10 Jun 2020 02:34:45 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id XSjuYY1788612x3OWnb1bkXX; Wed, 10 Jun 2020 02:34:45 -0700 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com []) by mx.groups.io with SMTP id smtpd.web11.795.1591737679751275848 for ; Tue, 09 Jun 2020 14:21:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RR0tNlbDPJ/hJ4hnu6n/dolFPSE5kCzWGVsEAt2pVbFKwfJsJGTPbn5EklYVSP5HLz/vwh/IrMLsewAlG1HcH7fTmhPqQt0cMOl67m1JL5GNlm0sD3SuJbxIdWb4r+zWef1hdcj6sHAdAwTT1JCAGKwJxYExt6nvJrMXrzStRGqLLzd2pjavnb40Oq+z1mrSPJ6wDnbqIsfMDdMWVAUEJejHs38J4x6yOr8AkmH4+J93NXwc0+8DNYrvZI/PmiOc9ykGh9lGBMSmbAbHIs94OUhYHILxYHXvBVOQVPJzP6vvmV0kDcT5gXLOel4iYEMHiT4bLf/fA9Q50FsawfoNWQ== 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=9erbuqp8BLJ5kIdq5GcWsSxIbujVZFcc6JHr++B/8qQ=; b=ATfmJLTceGPrN6NbVUfB1fFRNCrESw91e8ss6gBJQU1NeBtb+Xp1zJFRoo9+GZo8FKofnPmkDgK+Z7igrA3rSjaE8IkVYagDYjP68Oi0Q/6YQAvRdhvosYJc8iLy8uMRYadRx4H0WguLtlNSTdyaFykkUHUy7PO20WQMB1A1hgCPiMjNI/5i9C+56nv8Gg9r3fCq2LPoXBem7gbJv0KjHkgxVADcUQk88k/gAnUVtdQMRHrNccfDTntaUlv4//4wqVypxMQcGqDQW+xOSfJJKJqOZzzG6yMVc9lcfGh1PL3Qj9Lt2g46P6/WMY5LG6tvjQebKMpnOCF9uAryooYRdQ== 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:19 +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:19 +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 1/8] Silicon/NXP: Chassis2: Add SVR and DEVDISRn device configuration Date: Wed, 10 Jun 2020 02:50:52 +0530 Message-ID: <1591737659-8051-2-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:17 +0000 X-Originating-IP: [157.37.179.16] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4f29d7e1-3e93-484b-fd49-08d80cbb0d30 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:3513; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: y9OMv5rpgu92LvfSuT6kUFnuNez3+pK6cCxS8v5unMGCAVnVLuZ+sdJBeZYxqSgHGCnu6tDcjBhVHgk6lxwmJaCwCSw+6JZEytuBuahcO5KLAfeP5IsAhewREQN6I5aC1lurmVaCn/KeOCfWGd0MOkb8W+gihsd32cbDWBLxTzKuNgpaQ/8vj/VaNgfOG6KU1OGhJD5+1QVMJrvUe//eoA5RkYxFvsaYwbOtJ0bems6KxK4sQCi6CxPs14AAeUuVUkRmivFSMNszS+x8o3wbROaZ9nNc9A8+j2QCxn6KLL9W34YD4WzBqh953ccDyLPXLxHULp+kf7B8VhPNQnn5Vw== X-MS-Exchange-AntiSpam-MessageData: SqIoO6Hjkg+oGZSPvCr/vTz4QArBssL9xLYj+890RPgwlTNJ4dg2MdsORrhTIXoN+x+/QeOVWOdOKus7TcR/2qqRN4IBNNFrqTMgx26Nj/+cz+IQ4vUhywlXz9ErKqSK40Sk/qWsdDmz3+Ji8f2toHVYKNRBrG9BchgCsZi9BVHyoB6QkUcjpVdWwlgE0tSxRmCixlvBI+TlSbeckKosBTwYeTx2mh3h3NaCA5PgsSIRieXwhPxa+hLnD6V5KJhFIwST1HbJ9aeUnW73BrSwTA16MWVo3ICQebMOxdWeyBfWPg5pMdDlGjeH0PwrQTdtZ5jTe4v/0Ke00d2IpTFt5Upps9kqd56nNDNgfVMc5UAeBQ2KkyxP0fyskERSM2D+f6sqti3zXt4cl7T1IL353a1tHcD3y/pIG+Vcvvc5yugSjKCZD2nyUgiLdyYHsGBFbrKw5hndc2EprqBrxGZ+7qnvUYsuKcI2c0FNt130dLo= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f29d7e1-3e93-484b-fd49-08d80cbb0d30 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2020 21:21:19.4875 (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: gNNsaAPh51Ug0ZWj3UpdFu1qpbQhzhi3TyYy2H88j1Rg82CNCMHYilCRhPW2p6xHyqTFo53leqBX5l10anWVkg== 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: 7zgvV608u4MVi6aSjCBhH5NXx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1591781685; bh=TQ8nb5rmVydeS4Qid6GXNWd6HKQrzZyEJUMpAa6eAC0=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=FX0OzSl4H8qJGNbKjL9jfdZZcdvk4V8I6P6rwU0h3jkAWuAqdP2dxnkLiVR7J1f/djM EfrG+swMwOYQWymEcQDIYKsv0jJz7PbseYsEaSlt4M3fhpTwTrgr2URAni+4pVl6hF0Hb h8QPcfKV8IyCOkJ58x4rXiZwVN0PYxWcsBI= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Wasim Khan System Version Register(SVR) is used to provide the SoC details like Manufacturer ID, SoC Family, SoC major and minor version etc. DEVDISRn is used to disable unused peripherals. Update Device Configuration structure for SVR and DEVDISRn. Signed-off-by: Wasim Khan --- Silicon/NXP/Chassis2/Include/Chassis.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Silicon/NXP/Chassis2/Include/Chassis.h b/Silicon/NXP/Chassis2/= Include/Chassis.h index 14e21ef9daf4..e5edd80134a4 100644 --- a/Silicon/NXP/Chassis2/Include/Chassis.h +++ b/Silicon/NXP/Chassis2/Include/Chassis.h @@ -28,7 +28,15 @@ **/ #pragma pack(1) typedef struct { - UINT8 Reserved0[0x100 - 0x0]; + UINT8 Reserved0[0x70 - 0x0]; + UINT32 DeviceDisableRegister1; // Device Disable Register 1 + UINT32 DeviceDisableRegister2; // Device Disable Register 2 + UINT32 DeviceDisableRegister3; // Device Disable Register 3 + UINT32 DeviceDisableRegister4; // Device Disable Register 4 + UINT32 DeviceDisableRegister5; // Device Disable Register 5 + UINT8 Reserved1[0xa4 - 0x84]; + UINT32 Svr; // System Version Register + UINT8 Reserved2[0x100 - 0xa8]; UINT32 RcwSr[16]; // Reset Control Word Status Register } NXP_LAYERSCAPE_CHASSIS2_DEVICE_CONFIG; #pragma pack() --=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 (#61066): https://edk2.groups.io/g/devel/message/61066 Mute This Topic: https://groups.io/mt/74793023/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-