From nobody Tue Nov 26 04:18:31 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+61061+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+61061+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 159178168324389.34572286012167; Wed, 10 Jun 2020 02:34:43 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id druzYY1788612xLw8CtUJcSh; Wed, 10 Jun 2020 02:34:42 -0700 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com []) by mx.groups.io with SMTP id smtpd.web11.801.1591737689962251368 for ; Tue, 09 Jun 2020 14:21:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lpJyPnVn1m+s3FxNjJlRA2MyGNukump1FXEYpThk7Liu+Sq4QGpx2rXzXbmFpReIHXw83XFD9LTJsk8fGPRuZ2Azalm0zFaunbFtcTrZtpUrk80jT2i+KCccjcWYhAfDRva963fG51f75bq0BwTTtt1wNwW7cRYtKb7qRgxCMrE1VBPUclZqRbGYbPJ2M638DYohz7caisPxpGPWZS71yEpm5ONQtRMum37V3b6tDjdhOVyKEdI3ETZSih4jglYE3nVdWI8l6tM8fycvR70fQt4xtU0EBzBxRMYVQDfYy75Lcwvc01OdUYhCfsaL63OdFxSn78ofjQ9TW01XXI7vJA== 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=KMMPk1iGusnUsYdIEPMCZEmHveVnrbH6eQOeoEwq6oY=; b=hhbl7a5Xi/RRv09jTHnBGSNiwhhjRAQmmXxfELyw7vqXsULNoIocsjuxX0sZziZQTuOddl7zANSjT6Hna1CWtuV/4XLEM8BZJP/BtEc01DRgmRULMjhGsaxowew4kW0JDjlTxA3IH/MTKu34F7YKFwU+o04S/x9vHZcP0hQz/WXOt7k0Sk67O9FX7Uqn2y27D0zxLgU6KF40II5kpIcqpHinNv84+BSBbyZKAdRvR2WGwGRryWfbTYZev1sjadWAx5lHSxMAFUCgzuAW9X3EUPxC9044kGSQ5GgX76sA0/JdEg2ZPMReHZFMIWJqfqrcPEygo+i75XBFQeMnzj/yeQ== 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:28 +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:28 +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 5/8] Silicon/NXP: Chassis3V2: Add SVR and DEVDISRn in device configuration Date: Wed, 10 Jun 2020 02:50:56 +0530 Message-ID: <1591737659-8051-6-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:26 +0000 X-Originating-IP: [157.37.179.16] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 17e957d6-81e4-468d-0e4a-08d80cbb12b6 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: g3YZg+JVuxlLUebICSlPVE+AcyJ9X55ubiyflLl3pF/V6hoekIOn9CYjwqqz3NtQ9xwn3NLd+1XIOH61ExQ+YYTLqByjEo59WhIiGD037JrOYZvEdsSLIWYsKQMIFrQ3D8Eaxe6elb+ShFXf3oNYnCM7DZ+JI4YuZJtWomPXwVeUN/bvmts11XTolP93P8m1sfolnfAR1/bl4N49dfUsdHgYiTf0a9Vt2OUigoROt7W33N+KJGubDXHvtd8cSAb3wcZadX+0ljvmhNn3Bd51YHwpZck0XcDRg+YNlUvf401WmKO7brR7roooTJphmMJ3/ofEwNcctLwOfkNiJnASmQ== X-MS-Exchange-AntiSpam-MessageData: 6UB2X7bvcX5TXfpxCbhle4ucJ45j7pY98r/ktJ1zafPW5tf8SqL8OHhVYJYXGeMAAYEjetOATpTdRMjl82HIf4kpnbSdfi+BgeedNcG108b+kp4fzufLeJUW92CDXuu799r9lUXUMKm3nZyY/bDLPDFColWUaqk/bLEaHVv+pSkusuDW0k/zZFJFaeD/VtAcA0ILNwJEN1ZyT1/4EUq0NVtpvFIB8Dkzv+jite3moIdTSzOFjU3YZ+BgS8kguJSQYCots6bzAMvzANjr4DMjCd5E6RGyhka2pXEfKVHgiA09eta31uB6O0AwrZomxPRz+qIVr0nzK2/Qg8gSG0VzoRd6wmELrkeFG623v/9z2K6rxKb3pHkNH5RR4pz+chNIjJhqKMbWDFqi07HRi9yiZbm1KM8PSbjs/dJiw9uO87PXtpQQ6m5FgEn+gtgJnY77UqImA0yY3uBgdrZjVudJ58GkwU1S7Ng6RxUe5HQYb6xGqSQSD0bnwW4X7TV9nyjK X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17e957d6-81e4-468d-0e4a-08d80cbb12b6 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2020 21:21:28.8032 (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: R0WW66dIh0UyLNCJtYxi9oO0zn1BLg6RU9OyQ2FQVtK/nphpw7ODfK8lJZ0Fqs9KRyvmZjHTf8f1BDQCNki0iQ== 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: 1d1DschY5q7hu1IZKr0mPMPcx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1591781682; bh=tzbyUaosi3Dh6mvjgIQttGGmCLM9Xx3IazXqv+MnPqA=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=R5FVD8Hv7FpC7a2gj3y4M0M5T6Pca9jYXLRF3ZTBrgsmGU9nXZCCf5aPCzuaFRPWtYG ODTHewcJuTSxwQNE5MshT+BHoR7B7bVUIete1T+M5SWtKcKyCsbIZ208gckdo58HGHKfd 5+oKvN/iLlpz9ciKy+sStarrqSjCgb8Qxis= 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/Chassis3V2/Include/Chassis.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Silicon/NXP/Chassis3V2/Include/Chassis.h b/Silicon/NXP/Chassis= 3V2/Include/Chassis.h index 0fd70132d897..cbc6b20e244d 100644 --- a/Silicon/NXP/Chassis3V2/Include/Chassis.h +++ b/Silicon/NXP/Chassis3V2/Include/Chassis.h @@ -18,7 +18,17 @@ **/ #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 + UINT32 DeviceDisableRegister6; // Device Disable Register 6 + UINT32 DeviceDisableRegister7; // Device Disable Register 7 + UINT8 Reserved1[0xa4 - 0x8c]; + UINT32 Svr; // System Version Register + UINT8 Reserved2[0x100 - 0xa8]; UINT32 RcwSr[32]; // Reset Control Word Status Register } NXP_LAYERSCAPE_CHASSIS3V2_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 (#61061): https://edk2.groups.io/g/devel/message/61061 Mute This Topic: https://groups.io/mt/74793018/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-