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:10 -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=ReiycQtQ; 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=Rt0xapq+zPBoVcPCcxKAWsbQfDlyQ69pIxXTmlcDfBFvkPPrK1CTchKP1uIKKTYA2pR1Rh3BXjO8TyUPhnMe9ZzZBTD0PFBLR9s2tigm/SA50NHOP03AD+x2w5TtXgrOkSkNOm83PyTZj28TBpjFd5B0BvCcPiUssp7Au22v81CjNjP2F6ytm+R5c0vS1Ydi+tjx/1qg8eaV5cVPvF/IQ4jkt8D8WRWDZyagI1U0zkYiwGo9K4OHT1HXIK69juaNOwGERoFG52w+RWYx2Mb2Z2hiabCtpUGinVHoq66zMu0BUOX2DZl3vV+V+CGAaEKlat0FM2heLDoWZaEs2NMDcQ== 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=fbWw7Q53fHhMzHZYeGzd4z9KOENRR34VFVF6hOizVKM=; b=ZsJU2eQy8BHYpKUVjpHFFlwAb4s9jX1vxcOmpjJDHipFMovdDCxm/hJWyi9U4layaEDLfa85VS9ZrQuwN5ysxVtwvDtyjcotRxgMGAZWWwPSiE4Iy8lCSIspcW8k1mBVqUqhT+8oOR+8r3S+FbHy3Xs8Nrqf0viCGx2DwiH7F0TbGgPor2bUxKEySo4glxUy2R3GETAsdwTdl2yzayIwzscIq43mRxyYwZ1lFDbnNHaDKEXR5ALCwFiXdB9dF17JJzOVss0CJG6akRe3xogofrlJmnBQt/J2WNCr92/sEH+Rwrfdbx4kRcpR9W1x1YzkG3w/dly1wFkXueSLpbbCZg== 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=fbWw7Q53fHhMzHZYeGzd4z9KOENRR34VFVF6hOizVKM=; b=ReiycQtQqYEfa8e2cYVxL+spRkv2Hy2O2upvoBCi5gCkKVmV2hYbhsoWbanLt0YJLWE6Q/9WsWpwImXV6Y+ckrAenfeVrRaIGMLsHuiy+tRXF45SmLF0OdSJUG05wQQYqKfm0zDtH+moFJhDAP/q+rZLvwNtsKrS35f2NSwRlyE= 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:02 +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:02 +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 01/10] Silicon/NXP: Use Metronome implementation from MdeModulePkg Date: Mon, 1 Jun 2020 19:04:30 +0530 Message-ID: <20200601133439.5711-2-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:35:59 +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: ffabc155-cfb2-4179-0241-08d80630ba16 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:5236; X-Forefront-PRVS: 0421BF7135 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 14a4T55DDcz4ph6Yb+H8vgANZCJAjI7Hoyk+vyzcp/P0/nfYytiOcwuvn+T9ZkaxOaNbBeEcyqTECLanlXIxngsfGxaGraYHSOvSmFb6+/xgymwG3Ui54aPCOvZqSZdnRp9RRkDSTc2+ktIr6/OYbTMILvS+6a918Oe7HTEsgP0qB3JoGpz0P2/KLWmMftAWsyJIsHcSsiV/5kopEU3kS+rNBAmzIiyjKYczdUgaoBKgtBTCoD2JObizvZuH4/X9vrVNzd8nM9M1LwVPnjI0upNXxtBTsH+ZC7fB/3YjH+VQIapkibihaJ1lipGYThuF1/dUITp125wriqV3TQ+DwA== 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: kGaeZJcR2TiouN0jSyBzGCcipnu8R7NP+fFIAMqC7b0b6EcxxSiWZFL1CAcW9ZQ6IO9mUBZTR1U+94WDEsLGmXy8k43nYMZUdZgxT5v+DiGh7AJpzHvNiVZQ/pa0QCIwNdXFZfextQ5F2zlZOeNW9Y+3KgHdQywix28ya4VkBUkgs5LSfgMW8AiR1Deqj/uZxRlRCkdV81of45jDbDdUscs/ad0XuHyJcOTFJA78BBgUU4VKscdehAWN64u30iEWKu7j1ohODH0aqTSOTihAu1iEo3qJQPI7tCeSqe1LQpd4mEn5TnI7ftEZrzH9F56AiYb3+0MCnQNafrvxz5ce3Tc5O97wR4gvk163696s2R28jZldUPvGqHfnufmgKUMrrYCuHorH0HzpEzvLsaPp84E1Tz5XzwZ7Wr9FBWxSBPv/PKVRyqOdDa8Sz8P02FZ3ujySocrLCaa1YDJEO6MBQ34I9R4EHQD/L6e/GGwSJn8= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ffabc155-cfb2-4179-0241-08d80630ba16 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2020 13:36:02.5984 (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: 9u1WhNH+LCPexRriwI6Pr5NJBPMdhvFUQrHupInUX77igUValunQCvgxitDiq0hDJ4uGd+3B4gCZa2hY0436Xw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6096 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Pankaj Bansal There are two implementations of Metronome protocol. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf MdeModulePkg/Universal/Metronome/Metronome.inf Although nowhere it has been specified, which one to use, but we are going by the general practice of preferring MdeModulePkg/MdePkg over EmbeddedPkg. 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 | 4 +--- Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Silicon/NXP/NxpQoriqLs.dsc.inc b/Silicon/NXP/NxpQoriqLs.dsc.in= c index 03759c7cee7c..54236e19531c 100644 --- a/Silicon/NXP/NxpQoriqLs.dsc.inc +++ b/Silicon/NXP/NxpQoriqLs.dsc.inc @@ -218,8 +218,6 @@ gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVar= iableGuid|0x0|10 =20 [PcdsFixedAtBuild.common] - gEmbeddedTokenSpaceGuid.PcdMetronomeTickPeriod|1000 - gEmbeddedTokenSpaceGuid.PcdTimerPeriod|10000 # expressed in 100ns units,= 100,000 x 100 ns =3D 10,000,000 ns =3D 10 ms gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FAL= SE @@ -348,7 +346,7 @@ MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf MdeModulePkg/Universal/SerialDxe/SerialDxe.inf MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf - EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf + MdeModulePkg/Universal/Metronome/Metronome.inf ArmPkg/Drivers/TimerDxe/TimerDxe.inf ArmPkg/Drivers/ArmGic/ArmGicDxe.inf EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf diff --git a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf b/Platform/NXP/LS= 1043aRdbPkg/LS1043aRdbPkg.fdf index 1c160e349eb9..95bbb54cc420 100644 --- a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf +++ b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf @@ -117,7 +117,7 @@ READ_LOCK_STATUS =3D TRUE INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf =20 - INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf + INF MdeModulePkg/Universal/Metronome/Metronome.inf INF EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf =20 # --=20 2.17.1