From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (EUR02-AM5-obe.outbound.protection.outlook.com [40.107.0.46]) by mx.groups.io with SMTP id smtpd.web12.6436.1589946677297833547 for ; Tue, 19 May 2020 20:51:17 -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=SfQJAAI5; spf=pass (domain: oss.nxp.com, ip: 40.107.0.46, mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FcWeaZSVT77/XiGxoCZNzGREi4aJogO+A9CH0fjwZqB7sVTBxLV7lalsoc3T3a4kOMDGcM9YGS1LmEfmKS0loUHEjrsrikIJtKNLVsCDhdhE9LutD//fXApaCQSpeStmKYo+H+hJaj/ZgBTS9GLELQar/baIbscmo9eUETBoJpAK5omCrD2gmKn74xGsZCfP+4nvZi2Pce0oK0BHL+ZiaK8/kDv8tSiwIhB0BSUL2QLbtOi0gcosFaPEjJq6viXLpD6n8PLr47xWWz+d6srCkT7p0e9S6e4gKzFWoun76sSanoKgIs46hrg3Jr2Rh7q0ZkNOIUmxg3HlrjynK6dQyQ== 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=hyQd8Pn40JPLHJpj5k8pJLC64pND21TbFgjvX63O0gk=; b=j93/7+8jZxomflhj4HXuA2LtdjpeGGLlVFANvYSeRFUwQHdMEiUCGF77hpOt3Ycmooh/TikeVbMpH9JplTBGDtggt7X0kqp4RS+qNgCJzYk99TEWI503fJWb5Kdl8FP1ftRm70E6Zg6MfbkzjaO5iSnGUNeaKskTlvw4bKZjL+NDsanchMTFfjCRTTB/7xQfsyPEvheEkxjqOrFofRc3hqoO1hHCwaI9ztWiTSqtRgzKFw0fZtELvOOLbsYQGVbPRLmp1ctvddQ1Km6csh3sG6RHMvl9m3kRbTfx3RAwkdUfeaYQWSWKuNX+L78tP80hT1o1jlzCzCZTCYMBU8QMHg== 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=hyQd8Pn40JPLHJpj5k8pJLC64pND21TbFgjvX63O0gk=; b=SfQJAAI5JXWEI5lY4W3msQBfRrmK2fYgMvEk8w8JmSKkhwuhj4TUPSdLNfEqbHEvDIr7RFwDZoZ183q9HLWzJZ4dVa0OZGrwbO597k1GXnwqfR5ibRokUfVVKu/5za4P1A6rCi+8kgDyMnduNRG2i4YuAiumezuJi+3/izJo8aQ= 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 VI1PR04MB5421.eurprd04.prod.outlook.com (2603:10a6:803:d5::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20; Wed, 20 May 2020 03:51:15 +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.3000.034; Wed, 20 May 2020 03:51:15 +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 2/8] Platform/NXP: Use Monotonic counter from MdeModulePkg Date: Wed, 20 May 2020 09:19:48 +0530 Message-ID: <20200520034954.5255-3-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200520034954.5255-1-pankaj.bansal@oss.nxp.com> References: <20200520034954.5255-1-pankaj.bansal@oss.nxp.com> X-ClientProxiedBy: SG2PR06CA0196.apcprd06.prod.outlook.com (2603:1096:4:1::28) 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 SG2PR06CA0196.apcprd06.prod.outlook.com (2603:1096:4:1::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Wed, 20 May 2020 03:51:12 +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: 161843a6-02cb-4550-d02c-08d7fc710b6c X-MS-TrafficTypeDiagnostic: VI1PR04MB5421: 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: 04097B7F7F X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RzgZEg88EzPuU7wGuxALPtwrE8tWJ2GbrpREfE2lSPKmFAZjlBTeaN0fb71hGKIQulx22iVzo07M+GNRZURYBq5lDurLAQjKZdD5yhdbalExav/POXeWRUDqKUUcluc0SkfWwvizpa+OTBcYyVm2RYLoURnr7cSQmq9tJ/eUc3ityJ3PiHtO81su5VmdN5qZAPghRWIni2dEbxbJMkiBo+r2j64AMcYd7HXKczboyaaI63TIX3OeJROgBs9lIXUscft9tjmmFBwZE6y4LB5wDwksiVe2SEoODMXfKyaCdn9ucOLDB/S0p2qeCPTewbXJxzP7ZoqKPuL+RLPuqUjP90u58rEoP4grsAv6J3Ms+F4iVX8L+Gz3IviZc665EW4rG3Mweo91qiB1rUSOTuYWxsFtd/4llIQ7+eJtVbbITr1nGwtRnFsz0F33LbUB7305 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)(346002)(136003)(376002)(366004)(39860400002)(396003)(110136005)(26005)(86362001)(19627235002)(6666004)(478600001)(316002)(2906002)(2616005)(5660300002)(1076003)(956004)(6506007)(8936002)(6512007)(6486002)(52116002)(186003)(8676002)(66556008)(66946007)(44832011)(16526019)(66476007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: HsJ/FS85QOrMUN1tnovkGxRDo++G3ZOr7Mv/3hQ3UJ26les6j6pQxT4x75nUhVwnGiqzpsIF/F+DTgI7+jl8o9OE5Otk7ky6rLkszNIezscuAFkeRCO1AzTd9ebxy8n9/IEBZjAx+BmE7NSgzbgr9m1LJdhj7Sx9khmoM7FEsxV+yu8D3YyvbpWy/ayBSyhIFejPe28j0aT0FKq9rPkKhnz0u9CjmLBNpOqm2Xe4Eoou8t1sz7ZqcH1pjwRwAzZPqtoMCPkMxUKye+ydnEc4+Tfxuob4UGyuFKPVYx5H/Ct6vBX0MypS09WmzvesvOJSrf90M6mtIZ8/KhES27hv6+FVba+7Nhb1ayBgNCkOY0bl+b9+03sQYNR3ZbuM/EprOHi8TosHV9cNukBlufrq1o6/dYMwSFVp3XOwR5KIU3jBrf5IsHy9jCQQxyD01ZBy4cDmswAKa+2nyJgeZ2tSQx0m0iy70Ed2+XlXHe0ZbNQ= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 161843a6-02cb-4550-d02c-08d7fc710b6c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2020 03:51:15.1278 (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: DRcUTkbD3wlNnz5hpB43YTeP1PJd3IXdYp2SBV8MYlqhgVFC5WcUY40VGcguxUBonr71HQsv6nepkQZ+DFXFdA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5421 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 --- 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