From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.72]) by mx.groups.io with SMTP id smtpd.web11.9381.1582101642178139861 for ; Wed, 19 Feb 2020 00:40:43 -0800 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=OCofUCJl; spf=pass (domain: oss.nxp.com, ip: 40.107.7.72, mailfrom: pankaj.bansal@oss.nxp.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K+DawxsWUJZ7uzdF0BuydWrz42RLcbM+owA8CLZi+St1r46ZPSGsUxTKITgQqB2CYWD67tfr1CoOfuWdTEuhLJaiNOxy3hAYkKQzQ80uPtxihNLbxrOAOeodPrRbsg40xKro/4K6qUtYXmDmvmACkp4r7NGeo1qg6bvbdOypxUFK4YUmxma21Vn+rDopRP8ZDUoztgLYmgGAHbMaS/8NE/TrdqsRPW8dptFlGCQGUHEt0WJxJXHjFpMlrAt0wiel8B7JiI7BjV7pbchKMKoGbkXp4Os0MC9Rpmod7gbR45Y5pzXu6Y7UXjCZFKlJUgriw5h4OCXr8aJ48BawEFf6Ug== 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=Wl2Y3FuXH4CM5s4ILSw/XbP97jbtnvdTW8QK9COWpJ0=; b=F9AM2FAoHdfJ7QS29S8XcjEcglZ+kBU1sO1L8L8an1bdrVX/N2rQ9MRq3jzg5Ut3+md983nrBekdABntbmu32EvbvpqZj0cnTp5KOn59DiewwV9DohJJKJ3+wHypY/yqUfjexuOEn6Eupds2vfs6HHFTm0LulELRpzVxRCACmM1qikq5dOP+BxIy3TXahtBnTb8+ndUZwXsU3EjExKtABrSuO7xnaRy/3dMfxrhe2yDjcs/UMbTQJ8FASDM8MEO2qHixu4RmfK61FOZ8jFS6S1iPu/vfyY0OdQaEmrJxDiSggbCQxVNey6PFrgRxrqZvt4d1mMPb0+W05B2UlpKF9g== 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=Wl2Y3FuXH4CM5s4ILSw/XbP97jbtnvdTW8QK9COWpJ0=; b=OCofUCJlZ91iFYSXQ8eE9RFEzLjWsj9e22ICl1Rqqp7XMIteLQknFQZ2IHMLH2gsc+/D2l6pOPb0c/S0UHiHi3UzA6eMhVE/H3CFAIIJr5cbZ8elhy47fId8AiNnxq36GPg9IWwTupwPQr0kNmPWHl6Wncm+VntwISvo7SG0gvE= 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 VI1PR0401MB2318.eurprd04.prod.outlook.com (10.169.132.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18; Wed, 19 Feb 2020 08:40:37 +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.2729.033; Wed, 19 Feb 2020 08:40:37 +0000 From: Pankaj Bansal To: Yi Qian , Ard Biesheuvel , Pete Batard , Marcin Wojtas , Zailiang Sun , Kelly Steele , Liming Gao , Nate DeSimone , Chasel Chiu , Michael D Kinney , Leif Lindholm , Meenakshi Aggarwal , Varun Sethi CC: devel@edk2.groups.io, Pankaj Bansal Subject: [PATCH edk2-platforms 1/1] Platform: Add SerialUartClockLib for all platforms Date: Wed, 19 Feb 2020 19:30:10 +0530 Message-ID: <20200219140010.24053-1-pankaj.bansal@oss.nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: TY2PR01CA0033.jpnprd01.prod.outlook.com (2603:1096:404:ce::21) To VI1PR0401MB2496.eurprd04.prod.outlook.com (2603:10a6:800:56::10) Return-Path: pankaj.bansal@oss.nxp.com MIME-Version: 1.0 Received: from uefi-workstation.ap.freescale.net (92.120.1.69) by TY2PR01CA0033.jpnprd01.prod.outlook.com (2603:1096:404:ce::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.17 via Frontend Transport; Wed, 19 Feb 2020 08:40:30 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [92.120.1.69] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 81e96ea9-050a-432a-427f-08d7b517642c X-MS-TrafficTypeDiagnostic: VI1PR0401MB2318:|VI1PR0401MB2318: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-Forefront-PRVS: 0318501FAE X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(396003)(366004)(346002)(136003)(39860400002)(189003)(199004)(6506007)(19627235002)(5660300002)(4326008)(86362001)(110136005)(66476007)(316002)(956004)(66556008)(2906002)(66946007)(30864003)(2616005)(478600001)(44832011)(8676002)(81166006)(81156014)(7416002)(16526019)(186003)(8936002)(52116002)(26005)(6512007)(1076003)(6666004)(6486002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0401MB2318;H:VI1PR0401MB2496.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;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: 8Hm/LbBBmldioyj8ZtAj/x8wn7aSD7T2OlKVgDrOP5/6vI3BVYW+8DkfwAYuYq6QWRzjLQVFHSI8ICvMiTkLw3mz98wXsN3/fWCbnRztpeTu1+GT/LxC4lepeVntyWVcjibig8je8CD0vRD9rVSxXqa4TpOFbwr3rd8XoxWDsURBTEQpu8SBNfYLhiF7x7yqRmdR9wjUozM2cQlArCvRO6bArQzZ/f0kK262tnwh0P/cpAReRcgapAuSPWdbgxmpWnMMAha/rftSEeuSaCLmtoRcuPuT5jmMN7Beq6fb4tpzO2hLgGcVO/zvSH8LOF2mci5VQ21vAR0+84//EkfjWjzg/qw2iDge22P8l7k459bXIsCMuTnclK5SV6mvpHf/Co7/iYv3FiLD/AHK+1WurvIyJj9a4PqvdVAlGwmWkBv+I6RUx50vl4ixiflKp5PEqwf1rPRmxsLBYQMKEbQaI7KCFn5Oud18vN0bNCn7yRk01gkvAUPUJPvbqtlgXon9 X-MS-Exchange-AntiSpam-MessageData: Q6RZEJwVN8yxZzvU9PH1SsglooKxAqzC6zUNqvBl/+sg8456mrnCyUrnDlC1zPRCFQsHGcpRWxCZBOQb5NXRF+VZUPo8GUInpQIkogj4mwGAy+e+3mlDkLWcGRiY63gU73StrPjZmFVvAj20X7OCWA== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 81e96ea9-050a-432a-427f-08d7b517642c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2020 08:40:37.0729 (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: 77EPjkElbdiGNyWJBIuhAaqZ9QqhsItK5WmVIbSvKPMVs2qaYWfKFFUCrtE7z+Bb2t0ZTplKwSE7zB3fcoypzw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2318 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Pankaj Bansal BaseSerialPortLib16550 has been modified to use SerialUartClockLib. Therefore, add the default implementation of SerialUartClockLib for all the platforms using BaseSerialPortLib16550. Signed-off-by: Pankaj Bansal --- Notes: [Dependency] [PATCH 1/1] MdeModulePkg: UART Dynamic clock freq Support Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc | 1 + Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc | 1 + Platform/Intel/QuarkPlatformPkg/Quark.dsc | 1 + Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc | 1 + Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 6 ++++++ Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 6 ++++++ Platform/RaspberryPi/RPi3/RPi3.dsc | 1 + Platform/RaspberryPi/RPi4/RPi4.dsc | 1 + Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 1 + Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc | 1 + Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc | 1 + Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 1 + 12 files changed, 22 insertions(+) diff --git a/Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc b/Pla= tform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc index b83e72b48c47..90cd72aff0d5 100644 --- a/Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc +++ b/Platform/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc @@ -74,6 +74,7 @@ [LibraryClasses.common] PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/= PeiServicesTablePointerLibIdt.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplat= e.inf diff --git a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc b/= Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc index 23ab53dbfe12..172ba6822419 100644 --- a/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc +++ b/Platform/Intel/MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc @@ -20,6 +20,7 @@ [LibraryClasses.common] DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiA= pplicationEntryPoint.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeC= offExtraActionLibNull.inf =20 diff --git a/Platform/Intel/QuarkPlatformPkg/Quark.dsc b/Platform/Intel/Qua= rkPlatformPkg/Quark.dsc index a02adb64e695..b275298a5ddb 100644 --- a/Platform/Intel/QuarkPlatformPkg/Quark.dsc +++ b/Platform/Intel/QuarkPlatformPkg/Quark.dsc @@ -213,6 +213,7 @@ [LibraryClasses] # IohLib|QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.inf I2cLib|QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/I2cLib.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf =20 diff --git a/Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc b/Platform/Intel/= QuarkPlatformPkg/QuarkMin.dsc index 3dbf616c664d..cffd777a6721 100644 --- a/Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc +++ b/Platform/Intel/QuarkPlatformPkg/QuarkMin.dsc @@ -185,6 +185,7 @@ [LibraryClasses] # IohLib|QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.inf I2cLib|QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/I2cLib.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf =20 diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc b/Platfor= m/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc index 463b952e6582..91b2754ea509 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc +++ b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc @@ -184,6 +184,7 @@ [LibraryClasses.common] SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull= .inf !else DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in= f + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf !endif =20 @@ -200,6 +201,7 @@ [LibraryClasses.common] !if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDeb= ug/PeCoffExtraActionLibDebug.inf DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibS= erialPort/DebugCommunicationLibSerialPort.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf !else PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeC= offExtraActionLibNull.inf @@ -280,6 +282,7 @@ [LibraryClasses.IA32.PEIM, LibraryClasses.IA32.PEI_CORE= , LibraryClasses.IA32.SEC SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull= .inf !else DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebug= LibReportStatusCode.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf !endif =20 @@ -779,6 +782,7 @@ [Components.IA32] PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgen= tLib.inf PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePla= tformHookLibNull.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseS= erialUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerial= PortLib16550.inf } !endif @@ -933,6 +937,7 @@ [Components.IA32] MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf { NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseS= erialUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerial= PortLib16550.inf } Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbSmm.inf @@ -1223,6 +1228,7 @@ [Components.IA32] DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPor= t.inf PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseS= erialUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerial= PortLib16550.inf } !endif diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc b/Platform= /Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc index ee18b45c9712..749a2dd4948b 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc +++ b/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc @@ -186,6 +186,7 @@ [LibraryClasses.common] SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull= .inf !else DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in= f + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf !endif =20 @@ -202,6 +203,7 @@ [LibraryClasses.common] !if $(SOURCE_DEBUG_ENABLE) =3D=3D TRUE PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDeb= ug/PeCoffExtraActionLibDebug.inf DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibS= erialPort/DebugCommunicationLibSerialPort.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf !else PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeC= offExtraActionLibNull.inf @@ -282,6 +284,7 @@ [LibraryClasses.IA32.PEIM, LibraryClasses.IA32.PEI_CORE= , LibraryClasses.IA32.SEC SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull= .inf !else DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebug= LibReportStatusCode.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf !endif =20 @@ -781,6 +784,7 @@ [Components.IA32] PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgen= tLib.inf PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePla= tformHookLibNull.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseS= erialUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerial= PortLib16550.inf } !endif @@ -948,6 +952,7 @@ [Components.X64] MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf { NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseS= erialUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerial= PortLib16550.inf } Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbSmm.inf @@ -1238,6 +1243,7 @@ [Components.X64] DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPor= t.inf PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseS= erialUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerial= PortLib16550.inf } !endif diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3= /RPi3.dsc index 2368b04f40a4..d2c4bfc1a1a8 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -117,6 +117,7 @@ [LibraryClasses.common] PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf =20 # Cryptographic libraries diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4= /RPi4.dsc index b3a114b6e0ed..bd1eb9c15773 100644 --- a/Platform/RaspberryPi/RPi4/RPi4.dsc +++ b/Platform/RaspberryPi/RPi4/RPi4.dsc @@ -126,6 +126,7 @@ [LibraryClasses.common] PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf !endif =20 diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/So= cionext/DeveloperBox/DeveloperBox.dsc index 9f8cb68cdd26..281de3197d0c 100644 --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc @@ -32,6 +32,7 @@ [LibraryClasses] !if $(DEBUG_ON_UART1) =3D=3D FALSE SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortL= ib.inf !else + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf diff --git a/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc b/Platform/= Socionext/DeveloperBox/DeveloperBoxMm.dsc index 00f6d4496377..ef3ed0f20911 100644 --- a/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc +++ b/Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc @@ -35,6 +35,7 @@ [LibraryClasses] StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint= /StandaloneMmDriverEntryPoint.inf StandaloneMmMmuLib|ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmL= ib.inf =20 + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf diff --git a/Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc b/Silicon/Intel/Quar= kSocPkg/QuarkSocPkg.dsc index e743a5e272e4..2e4bf8c1259c 100644 --- a/Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc +++ b/Silicon/Intel/QuarkSocPkg/QuarkSocPkg.dsc @@ -105,6 +105,7 @@ [LibraryClasses] # Quark South Cluster # IohLib|QuarkSocPkg/QuarkSouthCluster/Library/IohLib/IohLib.inf + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf # diff --git a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc b/Silicon/Marvel= l/Armada7k8k/Armada7k8k.dsc.inc index 42f8bbba926c..4cf6429d7476 100644 --- a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc +++ b/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc @@ -87,6 +87,7 @@ [LibraryClasses.common] UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf =20 # Serial port libraries + SerialUartClockLib|MdeModulePkg/Library/BaseSerialUartClockLib/BaseSeria= lUartClockLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf =20 --=20 2.17.1