From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.46]) by mx.groups.io with SMTP id smtpd.web11.13799.1584628607374802000 for ; Thu, 19 Mar 2020 07:36:47 -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=KSJGuMCM; spf=pass (domain: oss.nxp.com, ip: 40.107.22.46, mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hrLNT4fw9FuxkShU4gxVOarmozli1Z934o/Y2ByezWIb7Z5oI/Y87AWfIJeUKzygBEYilmytJJapk9OQxxVtcYs86x1cS0x+ZRhFHJ4sRHxpqxFTgxSaLoS03SNyknCj1y7Ky3sQYbaZylHagWf9Ic5OVCRX2YrLwwNs5et5plUQYCpKOesgxHgawkUGQYjcigJUBkacJ7j1nYV63Vo+3OJHhWbpgvHlG2jlx1roEoAC1+ZGVwRlncE/499glkHhef/JbrA8ws07PSWGVnXDGLyrNaT3wMeGnrANl3jZqzGKkSPSbGHSxGaK93zP1gK6tJMPQzK7VURvU4Pec2c8mw== 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=htVAyQAMxXAjcK8b3lkLWBgXO+WEtY2N7pS5RSJTRYM=; b=Yh1Tm5njYnxw2aN9tecTtAP3zaOVGEsF95bTteh0nr46xYiP+b3b43FJ3lWay0oSZzpj+vcNt0SEGgrvRaqjDColwXHsigWd2zccxtqZrloWidY3zSucN5QAB93SVBKtjnNDau5Z5h7KijS45N4pDTrAXigci84eSqXm2g5MmH2HP2wqAsTYJLwOnrcsq9HqkvA1S43/f1h+tuqsFPzZXTwZr6gaTxXvw9CG0EowWwVx4RBVLT1ttjI5Il4p/7oROGLU0xKFxlSOezXU0f8K3UaulYoRhN5ORnm2Jdh8PDn8ZMwYwuMjqXp0TIElDPFX5M7uLCa7CAFHmSTE8glQxg== 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=htVAyQAMxXAjcK8b3lkLWBgXO+WEtY2N7pS5RSJTRYM=; b=KSJGuMCMk4aA70JPFAxrG/RRW2Vz17VwZQKtbm3uC4tycgN78pl+vYLGBUXOZlOZG/vrD9PeaPu//cbw9RNEGY79yAt6Bdz1nIGRnWPoPVUOR9x5l2KcyxEGImkWgwgmbd/UnzdgCXrAIi86BO+T85/pBgjvdbmQXKErRBMODQE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pankaj.bansal@oss.nxp.com; Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com (10.168.65.10) by VI1PR0401MB2382.eurprd04.prod.outlook.com (10.169.130.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.21; Thu, 19 Mar 2020 14:36:45 +0000 Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::196a:28a9:bb9:2fae]) by VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::196a:28a9:bb9:2fae%9]) with mapi id 15.20.2835.017; Thu, 19 Mar 2020 14:36:45 +0000 From: Pankaj Bansal To: Leif Lindholm , Meenakshi Aggarwal , Michael D Kinney , devel@edk2.groups.io, Varun Sethi , Samer El-Haj-Mahmoud , Jon Nettleton Subject: [PATCH v2 08/28] Silicon/NXP/LS1043A: Use BaseSerialPortLib16550 as SerialPortLib Date: Fri, 20 Mar 2020 20:05:23 +0530 Message-ID: <20200320143543.18615-9-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200320143543.18615-1-pankaj.bansal@oss.nxp.com> References: <20200320143543.18615-1-pankaj.bansal@oss.nxp.com> X-ClientProxiedBy: SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) To VI1PR0401MB2496.eurprd04.prod.outlook.com (2603:10a6:800:56::10) 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 SG2PR02CA0042.apcprd02.prod.outlook.com (2603:1096:3:18::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.19 via Frontend Transport; Thu, 19 Mar 2020 14:36:42 +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: 2ed7fd63-e502-40cf-aea9-08d7cc12f27d X-MS-TrafficTypeDiagnostic: VI1PR0401MB2382:|VI1PR0401MB2382: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1303; X-Forefront-PRVS: 0347410860 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(396003)(346002)(136003)(366004)(39860400002)(199004)(6666004)(316002)(186003)(16526019)(6506007)(8676002)(81166006)(81156014)(478600001)(86362001)(44832011)(19627235002)(26005)(8936002)(6486002)(5660300002)(52116002)(6512007)(956004)(66946007)(110136005)(66476007)(2616005)(2906002)(66556008)(1076003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0401MB2382;H:VI1PR0401MB2496.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0; Received-SPF: None (protection.outlook.com: oss.nxp.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mbg4iHde/MlpY2USOGwBPJmt7U27EJMdiJRiDIyGlwKR35QnlfAP/HGcD92Pxckzm1IrqoHmnu4YdzHyAfPmQOmj4oi6aj4ZAI4xncCoutASBIVCIAzoSx7605ZCeU1cOMOhTefYA8n4J9TuMtWK0U79rYfjefKjaTqSn8UBeWSrq7k3TJ7/qmPIz3akXQd5rLLt7zT0uAwXgPK1PMjsZ6OZ0z4uS8YZQhHohr+RPvQV5HL3hYGQRplTaGXO4dIbCMMY84R4piujO/S/xNn1UsMm/vOxqX/Ms62dZlAaq9ljcDjgGI34rxHCeWM/+6OewnVXMUr7fl5yAo8h6Ss1ouYm0F0P1U5FY49cY8i7RzZ5GenIm1+RVBoTtEmVIImN+2vu6sSm0x+wKW0EbmbZzhMWKfbQabrVrqFjNTkjBLpBXVC4waB/YD2hYoo061/f X-MS-Exchange-AntiSpam-MessageData: itVAc4t6QUCkD9hAPzuHfRFTO4VWI4SKGnDmiHW0+Q5gnaQf3NzgbrMOhkTqQx8rGBzqILXqRSbGq0qhbJv18PHO8hBFwNFuqnpMVHZBlEOE5VQOyUCCf7VbksWPCCpFJmV+6vhI2meVMteKtHef1g== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ed7fd63-e502-40cf-aea9-08d7cc12f27d X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2020 14:36:44.9373 (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: FQJOLmGww6waA9+MwbNfOOavfGkyRUN3dL2VzwU2AkN3PnmZB/U4Tqy27CwkpAF35HIg42X8IaXTQ0eNMBqBpw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2382 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Pankaj Bansal UART Programming model in LS1043A is compatible with PC16550D. Therefore, BaseSerialPortLib16550 can be used instead of our own implementation of SerialPortLib. Signed-off-by: Pankaj Bansal --- Platform/NXP/NxpQoriqLs.dsc.inc | 3 +++ Silicon/NXP/LS1043A/LS1043A.dsc.inc | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Platform/NXP/NxpQoriqLs.dsc.inc b/Platform/NXP/NxpQoriqLs.dsc.= inc index 94d3e53a046b..234a5e2707cd 100644 --- a/Platform/NXP/NxpQoriqLs.dsc.inc +++ b/Platform/NXP/NxpQoriqLs.dsc.inc @@ -98,6 +98,9 @@ [LibraryClasses.common] ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSy= stemLib.inf IoAccessLib|Silicon/NXP/Library/IoAccessLib/IoAccessLib.inf =20 + PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf + PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf + [LibraryClasses.common.SEC] PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompres= sLib.inf diff --git a/Silicon/NXP/LS1043A/LS1043A.dsc.inc b/Silicon/NXP/LS1043A/LS10= 43A.dsc.inc index d2d4133428c3..f6f15a482a85 100644 --- a/Silicon/NXP/LS1043A/LS1043A.dsc.inc +++ b/Silicon/NXP/LS1043A/LS1043A.dsc.inc @@ -8,8 +8,10 @@ # =20 [LibraryClasses.common] + PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf SocLib|Silicon/NXP/Library/SocLib/LS1043aSocLib.inf - SerialPortLib|Silicon/NXP/Library/DUartPortLib/DUartPortLib.inf + SerialUartClockLib|Silicon/NXP/Library/SerialUartClockLib/SerialUartCloc= kLib.inf + SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf =20 ##########################################################################= ###### # @@ -25,6 +27,7 @@ [PcdsDynamicDefault.common] =20 [PcdsFixedAtBuild.common] gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x021c0500 + gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE =20 # # CCSR Address Space and other attached Memories --=20 2.17.1