From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (EUR03-AM5-obe.outbound.protection.outlook.com [40.107.3.84]) by mx.groups.io with SMTP id smtpd.web12.2303.1590569579463469694 for ; Wed, 27 May 2020 01:52:59 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nxp1.onmicrosoft.com header.s=selector2-nxp1-onmicrosoft-com header.b=kktoshHP; spf=pass (domain: oss.nxp.com, ip: 40.107.3.84, mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L4sMCVarrgaIgc4ipM1byy07cnVpninVKIwznRzvJj1LiULsWl8jcXLPPccx//F5tEHGLiR8rz3njtYlnepb/wLgC/tr4zJ17FVgr24Lr8cOlzGLfKe9hhHi5T8CsVzXT9Xl2LWHg3eUcxfVJ7Ril3VV7yw69r6R2HtThkwp8cybVHh90Egg4Tk6C/y9a4DA+/b9zDpm6JpYzHhfrF8VZBFzeToFyfibU8kMw6ddUJHrLuQhI+F/w3l59nUGyaoTPGrjf5wuB5aadZ6KuIpppIZwZm90hh/oAWe4p80hH8npCH9xheIoQeLPnrXmYvgxRN7bwqQ9vT/bgom5aTSHtw== 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=g4LOKrBc8UoXRmEYs0IFhdj426Mw2vhzVyzo1xlhQUQ=; b=K/kH4u8KiKhkvAFfn2ipC/ibI5YMCG7eCUT1Vn3O13Zrqwm0h3mPkwNUOX6bkGTjcyBto1pRUIqEbqcKrHbZmEq9MPe+Hm+pvTkoZxhQ1T59CxEsD61t+wkckdk7V0Z8ysUUO09uAMyajOKxZui7whwJNMY8QqjAWVWeUrC0hDuzCEhdcxeIdRkxBPwuXnApSLhOYfN6DwW4vrP5izVA61RhVdYxM/E5u3PI7rIdHNgFNA2aQWijWhhE1aCFGGprNAPY01VKS39RnJp7VAUq6jJDcS2bgXHOOzdbf9QhCyjm3y26P2VXiu44tJVgzB6fY1hrXK+pLmrG1exOSDE4wg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g4LOKrBc8UoXRmEYs0IFhdj426Mw2vhzVyzo1xlhQUQ=; b=kktoshHPR0CwmaMUcMSdrqlQAqTjr3+/p68Z5xapHG2Pjj0ILwEmv/zyN/BQ+ACJEYZWYv2Y0Fr0jqC2hY4sGAkUE30JknvI68mgsrqjxsXpmAKjLbXXMJbXeXdC/h+RmvMsy9047t0j1NzHiaPgkhY2QhCzIk8lusfZfYe+KDg= Authentication-Results: nuviainc.com; dkim=none (message not signed) header.d=none;nuviainc.com; dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5933.eurprd04.prod.outlook.com (2603:10a6:803:ec::16) by VI1PR04MB3181.eurprd04.prod.outlook.com (2603:10a6:802:a::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.27; Wed, 27 May 2020 08:52:57 +0000 Received: from VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::45c4:8846:5327:9513]) by VI1PR04MB5933.eurprd04.prod.outlook.com ([fe80::45c4:8846:5327:9513%7]) with mapi id 15.20.3021.030; Wed, 27 May 2020 08:52:57 +0000 From: "Pankaj Bansal" To: Leif Lindholm , Meenakshi Aggarwal , Michael D Kinney , devel@edk2.groups.io, Varun Sethi , Samer El-Haj-Mahmoud , Jon Nettleton , Ard Biesheuvel Subject: [PATCH edk2-platforms v2 2/9] Platform/NXP: Use Monotonic counter from MdeModulePkg Date: Wed, 27 May 2020 14:21:28 +0530 Message-ID: <20200527085135.16717-3-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200527085135.16717-1-pankaj.bansal@oss.nxp.com> References: <20200527085135.16717-1-pankaj.bansal@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0164.apcprd01.prod.exchangelabs.com (2603:1096:4:28::20) To VI1PR04MB5933.eurprd04.prod.outlook.com (2603:10a6:803:ec::16) Return-Path: pankaj.bansal@oss.nxp.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from uefi-workstation.ap.freescale.net (92.120.0.69) by SG2PR01CA0164.apcprd01.prod.exchangelabs.com (2603:1096:4:28::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17 via Frontend Transport; Wed, 27 May 2020 08:52:54 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [92.120.0.69] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6a3f4d3d-891f-44eb-4e7a-08d8021b59ed X-MS-TrafficTypeDiagnostic: VI1PR04MB3181: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:962; X-Forefront-PRVS: 04163EF38A X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QKaJ75N9rwma79vDKlEoC/0evsnv+m9h8XfrCEVRn7bnatQAL2P8wy5l59TEZsg9aHidKz9Q42ffWZ4qSu40UtTsbMNSmcChNtt1/ZrsHN8ZzbLofakEUAECwAi0B0eIpyp/Lgo5daiJrVQy4B5UCVXE0prQMVAXY0biEoa8d0QRmpjBZTD0UmDh6Sy6UtPkU+mcrWWsElXns0Ml1HbPiW+/w25QYB+GXUAurhu/vwkr72nDKoF86t56eo0PlYQ6lXZ3x8qck7kBv/8aV4vJLg48AWXOOoqARLyBOX00lrWZIySrB2oWdTaMUFY3n+iCzoxjvin0iEinZRYAV/4JQQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5933.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(39860400002)(346002)(366004)(136003)(376002)(396003)(5660300002)(110136005)(2616005)(956004)(26005)(8936002)(66946007)(316002)(6666004)(186003)(2906002)(66476007)(16526019)(478600001)(44832011)(66556008)(6486002)(6506007)(52116002)(6512007)(19627235002)(8676002)(86362001)(1076003)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: bYoRxWnGAWnwJWf+JAxuY5ezVYQddzJ/hKM7+iBl+ivghJi+Ou4dH4mDdqFn8GWLj88r2yP7c31MMH/4QYnHbxIT0sMESBAR1cymXetkCSX6W5bCQZ/+oFUrV5Iujru7RLIIZzrm+rqeXt9Qv2E+Brbf8cRt2E0y+oE5EEGcdWBytKOfWhput5Fx3dquRVmsNGHN7EHNoc3Cb0Yqagh/AsfNGaxOJObSwf5LboYk7+qWG0JDT1PtXPRo4ZWyNPKKUGp21iVfhFdO5JwGcAZOcsi2EVwicZ3yNZ2PwXhDUVIURFou6SWsVZeA235qR2QmyCKTvibpVcyZVU/n5v1DawGCheZ2Lkd4iOyy6a9hE1lUAZf4F+sYaHs6M2XojURHkkU4+htINPOMaPtmvP0YkOok5bOf6lKWVFKdpDCbtNZSBPismCSuTMnXwCZnSmFt0bbxF9nr/z1iFIp49atMmeY1AWcTkcgnMh0q0ZVUyRQ= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a3f4d3d-891f-44eb-4e7a-08d8021b59ed X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 May 2020 08:52:57.1900 (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: ICIk1U0wrOvNw4hdot8/yWZB9i13YmsTPpx4ggAxMkUInGwWmiLFPqAv5LukEawZIiIFonb/ZXJxIp0op3GatA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3181 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Pankaj Bansal Monotonic counter module from EmbeddedPkg doesn't treat the high 32 bit as non volatile, which is needed as per spec. Therefore, use Monotonic counter module from MdeModulePkg Signed-off-by: Pankaj Bansal --- Notes: V2: - No change Silicon/NXP/NxpQoriqLs.dsc.inc | 2 +- Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Silicon/NXP/NxpQoriqLs.dsc.inc b/Silicon/NXP/NxpQoriqLs.dsc.in= c index 54236e19531c..12e2b89fac58 100644 --- a/Silicon/NXP/NxpQoriqLs.dsc.inc +++ b/Silicon/NXP/NxpQoriqLs.dsc.inc @@ -337,7 +337,7 @@ MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf - EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf + MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntim= eDxe.inf =20 # FDT installation MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf diff --git a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf b/Platform/NXP/LS= 1043aRdbPkg/LS1043aRdbPkg.fdf index fede51ced10e..49d8885477c7 100644 --- a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf +++ b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf @@ -98,7 +98,7 @@ READ_LOCK_STATUS =3D TRUE INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf - INF EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf + INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRu= ntimeDxe.inf INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.i= nf =20 --=20 2.17.1