From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com []) by mx.groups.io with SMTP id smtpd.web12.37177.1591018565558875974 for ; Mon, 01 Jun 2020 06:36:14 -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=fp8ueWcD; spf=fail (domain: oss.nxp.com, ip: , mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iJv/JNKCb4hYuhxuGJdEakuTu+TW2OQ44hzP8bHZj0S6lwTvyCbBymXzT8iPW3oWBD4sSwqFdYzKRf108aXzHA/o32quwQfLD8DSwBTkiupkXT8LB3+QcehB6LOjKHj67XN1cg2/Txv+68ZsB5YCxvD1JO8YarAbKB578KpSee9jaBuPPboPdax6bW59vB7NzX/4FDOTKmR0GbDvqW1XG9s/f+TEyDu3fZ2sr5j5nuElhYExvfhM1qQqUNl16pI6cXjzgwGDIzZmQ+BzOGbkz1AgpYclR/J26DIcr5trk/g9msodFtatdvbttOB1pvQIATk0keDZpXxf1blI3Yj0Iw== 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=f89X/1d5ChYFdt/kIAVG9tXZfmWinX/ShHsrXFepVf4=; b=cn8BYGCkT4+orS1lefHDVVKQ05R+5a+QVBPmVMD5Wkiqteyj47n0EzHIV3GWYD2kzqmLFHMsCjXP88lpu1rKcVCfxsrwfW3G5aM7L3Y3ExQ7hhWFv16S2tNtxtSgy/pGFikLmdUFQws2001ujzMqTrDplguIToylPbjbqxf4QmIejsnymJ4S77bGuXAZVWQMskZXqm22oEoDcF+KROhm4iz5BqK5XvLLnBCWRLsRXkawO5uVkWVu9S7M6JAXY/JPm4A5zcXBEjLgcRCOE46ohWGzaD2pcfmn7N8wWUsgTOJpah7Ovaz1BvK8qURhx6pEB9y0wWEBXtZ/J6DpdrOpMA== 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=f89X/1d5ChYFdt/kIAVG9tXZfmWinX/ShHsrXFepVf4=; b=fp8ueWcDzObjk1LScv0Y2+yA3OMAhMmpuKtFl1QG7meeD9I+Di8NPqvsPTyj9d1nNddAHFanZ/nbTSaTsRQcEDmdt4zHUtdMgYhKw9e06CERdenJesPAjtjI0hof2HpOA/TvbrZZS2oz5CDxsQ76UKj9KBM72Ud6DlpAapGTz/8= 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 VI1PR04MB6096.eurprd04.prod.outlook.com (2603:10a6:803:f6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17; Mon, 1 Jun 2020 13:36:05 +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.3045.024; Mon, 1 Jun 2020 13:36:05 +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 v4 02/10] Platform/NXP: Use Monotonic counter from MdeModulePkg Date: Mon, 1 Jun 2020 19:04:31 +0530 Message-ID: <20200601133439.5711-3-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200601133439.5711-1-pankaj.bansal@oss.nxp.com> References: <20200601133439.5711-1-pankaj.bansal@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0097.apcprd02.prod.outlook.com (2603:1096:4:92::13) 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 SG2PR02CA0097.apcprd02.prod.outlook.com (2603:1096:4:92::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17 via Frontend Transport; Mon, 1 Jun 2020 13:36:02 +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: 3f6495b7-02bf-457f-2976-08d80630bbdc X-MS-TrafficTypeDiagnostic: VI1PR04MB6096: 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: 0421BF7135 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K78cx/WC4wgdB5mhFutB5VKyBXKPUykk5/SbsEXlYEoBDdw1g7jvl9OGEzvdRx3UDDX7lzi/C9+AmS/EBQd3dTQp4dxD7CM50HU2m8etMvvMpNoKsb8yoxCbKFb+B9F0QbjlhVrrd1JpFNWQF3mPUpy3mvgdNR0ROYG5w9vgnxe2GXfItNN93GK4M/5OTRFv6uDLrbg3T+GT2Z2t5lwPNXXkzrY1MuN29+9cSAd1pVIjf3fIQFSrPQyFHSErqgurFDWJCYh2dDMGgRLKVWZSUkbAK9qExjNHsFNoii/9XX4fqq8enWhnEXs9vyDStMFaesvkZ0rlZkeasYP4WZPVsQ== 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)(366004)(376002)(346002)(396003)(136003)(39860400002)(110136005)(1076003)(316002)(86362001)(6666004)(44832011)(16526019)(478600001)(6506007)(26005)(6512007)(186003)(6486002)(52116002)(956004)(66556008)(66476007)(66946007)(2906002)(2616005)(5660300002)(19627235002)(83380400001)(8936002)(8676002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: SbLly4WzVJYrQR5wX/8bIlW09tmbiilu/hOL/PE8CMPPGoVESedAFcNAVnZoBmJk87qAbGA3vOuZHtGiGf2juMjNkO2BThtdm7tdUmbzpkRdGQCSD+zacxin7pbtWXD5GfaJeMRbLd0xTLXQQUs+fScHn8pxqzgXR0dm/uQawXyWaRlpQ+Tcggtd6F84iGyfSEoY+LJUo0KQ4FiTZNIHGAq3pXNPpWr0e7qCL2Jh1PRjIRYJqnR/CMktrYaFS0qa9WecbZrZJWQzoSMP9XL/+imKxJhYFL9C8ozIzMrEKUKQVidSQbxM1NCu58LyxeM4tzDHYg/l3Xu+AYCH0zQ/l9+GSQEEhYlE0vGtJFcchE0AfrlecQdKAoMxbjXgDqCVMTlcC4I1J9iGpvoGfUeu0mQlPQ1KLIB5qX/IbhQ3KPvb1Hn7hd8sX3o1mttwPJEm/bgBGPHu1r0em+jKiGp+zQwYrHFqlx01a5nBs837/+E= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f6495b7-02bf-457f-2976-08d80630bbdc X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2020 13:36:05.5378 (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: n2z5X0n0HdK2177jRBQyILZ2wqtd9h6g4sSPQGDWe464yGiUz4r+t3kbCFbBitaOcTPYKS7Ezlri5wLQxlbI/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6096 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 Reviewed-by: Leif Lindholm --- Notes: V4: - No change =20 V3: - No change =20 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 95bbb54cc420..dd31b45b4d78 100644 --- a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf +++ b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf @@ -100,7 +100,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