From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 16A7AAC0A53 for ; Mon, 29 Apr 2024 05:01:53 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Rbhra6jbYl/C5LFbc8enx1Sk+8RSDkhZfhb3sQbqY4M=; c=relaxed/simple; d=groups.io; h=Received-SPF:From:To:CC:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20240206; t=1714366912; v=1; b=nAwsal6u4t/qk7QXHK165AWY2VuinD3FP2df24Yjp3qigVPua8OHNxllUid53J1elWMxXkoW x+yizc3tL9Z20JAaLsf6b4x0KZnoROAZkpoEqp+KsU0Rpnpjg7MVs978L1JU7oX+U9LX5qIRnfY qlNDdILHhfbDs9rFQmBL3DHdCzBZGk1y3nPO9pgb4Gd0BjqDDIn25JDc+sPmSEXb5z1cHJCYav/ MNgqpnVlw0nzKcFNwnhJNUnN8cIoQDr2C6gOjmx016ZAU+71r82SnY08q2bITQQ2wntcbCArtBY RCXBMN+99M9W3kBsXbDMfntR18mqtprC6WWMiToldoyhg== X-Received: by 127.0.0.2 with SMTP id UArJYY7687511x1NHlyGOzJe; Sun, 28 Apr 2024 22:01:52 -0700 X-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.76]) by mx.groups.io with SMTP id smtpd.web11.13169.1714366911782558684 for ; Sun, 28 Apr 2024 22:01:52 -0700 X-Received: from CH5P220CA0012.NAMP220.PROD.OUTLOOK.COM (2603:10b6:610:1ef::24) by SN7PR12MB6929.namprd12.prod.outlook.com (2603:10b6:806:263::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.34; Mon, 29 Apr 2024 05:01:48 +0000 X-Received: from DS3PEPF000099DD.namprd04.prod.outlook.com (2603:10b6:610:1ef:cafe::51) by CH5P220CA0012.outlook.office365.com (2603:10b6:610:1ef::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.34 via Frontend Transport; Mon, 29 Apr 2024 05:01:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by DS3PEPF000099DD.mail.protection.outlook.com (10.167.17.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7544.18 via Frontend Transport; Mon, 29 Apr 2024 05:01:47 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 29 Apr 2024 00:01:46 -0500 From: "Chang, Abner via groups.io" To: CC: Abdul Lateef Attar , Nickle Wang Subject: [edk2-devel] [edk2-platforms][PATCH] ManageabilityPkg: Remove the dependency with MinPlatform Date: Mon, 29 Apr 2024 13:01:21 +0800 Message-ID: <20240429050121.270-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS3PEPF000099DD:EE_|SN7PR12MB6929:EE_ X-MS-Office365-Filtering-Correlation-Id: 9c584413-7f2e-47d2-c5f0-08dc6809795c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?O6OPXOpzh3SNoi5raxYY4cw9vMojPoDvrF/yOvZmUofx4p7eRRKH9NWZXRYD?= =?us-ascii?Q?eOfChzvY2l497WUqgfq1aJdGGRL0j3Dj4tKTBjPySmldFiuq/FlAh7XUePEq?= =?us-ascii?Q?ytsYfm9V5dh9ZVYfjj8JJhqFbJR8NhGJyG40PG7MY4Ov9L57IJvehWz7s0x7?= =?us-ascii?Q?OghJCRkOOBaClWgBdM0T88rT7WUAQlbR+R6Qk6lReB3w7qhtE1/r9Az6fnuj?= =?us-ascii?Q?mQaxVCp80FdZ5AshTIXA/NykMZDrmqLvK0+ozfLRZKGJHyxXd2oiYB5rMtaa?= =?us-ascii?Q?Qo3r8/sse5hxIgP7npa8ABnKgQmYqfd0hwFbbH5k4gofXijDYNTkGpSyf0c1?= =?us-ascii?Q?Btmk4h6rYne/qNRqG9LCLnB44CRQ1oXJqSSA8+/EpF6hilvxqdMM+9Qt+nty?= =?us-ascii?Q?kneZXKVXcSael7qOOSczUMrdPi7jAurLcKAQA036ndhe67D6kh37s25+y/y+?= =?us-ascii?Q?Qwy2udsM/EiyfKPDu5bsC0gHLDFhFWMdiIr+oY2oJKI7t7ncw894KmMcEQk7?= =?us-ascii?Q?iBrvfyBVJ/TlYKwU23HbnATxqhiw+92RAwcXSvMJb75yVKTPgaao8Zsjw4Wu?= =?us-ascii?Q?kFsKBFEzUNP4pehle1TlPwxBRcJivh9qNZZsipixGKLI635qD7JeT4DO0P48?= =?us-ascii?Q?OcJ+a+b5vkxtvyi0jhPLvbaZC0G8DhfmQ2aJr8llFOZj2p6wVZVgMEALgJ0a?= =?us-ascii?Q?n2U8+Bb8gHXOU1q2loKGC5sgNdcO8JJTp1sm+tA955weyA++LcrRvZMlilne?= =?us-ascii?Q?FTnl52HjnHjfvxj/Wwr7qmatMyDQcBPkar1wiTvbPvglAqDu7XJREUkqwZ5h?= =?us-ascii?Q?F3Z75vBPI1TE+Ta8KO6uH0FljQFnKsL6K3os3El4tg130CO3Jl4VW3wBBWQ4?= =?us-ascii?Q?x7no9k3ixqAzwEQqtxi/P4YNxxnPwhrRDdwUBeNHL+g9iIYdPunRbgE6b+1R?= =?us-ascii?Q?H8Z3KYbeDdzwBLbYOQv8HrFWg23D4WnJVpuB4vefPTn7DPkUhK8tw+vAU39L?= =?us-ascii?Q?s9A9vTPuz2SX5kuepJKMVciPEIYQZGpBWGl4L5YDSE099VUuMC+qt384Np51?= =?us-ascii?Q?mGPU4CdMEY/heT7zN745NIEb//pO/g9BNy8R7nKQrwz3IXbpb1XNdvyzPoIl?= =?us-ascii?Q?dJG511d0lMI9/kdInlMjDlxVD07MiA+EzIA7EAofkX90xBvgLph/1coCJBXo?= =?us-ascii?Q?ETHmXcl2ZUPpLwc8Dd9xtvR6psA2/G9ebb1F7T4JCKawJvUtsPukFUELMCZj?= =?us-ascii?Q?RduSWlZYbDrXb30+WJ2TBOLyIDh18Lr/Hmu7yslQkCJrE2goxY1ZGk/KQczG?= =?us-ascii?Q?hZZaw8gTgF7IWZ9mAm6i+cTVhoc7fMLwRgk9bIRhNvuXBRf0tAlXhMKgDVj9?= =?us-ascii?Q?AkJz3SVc91ulU0j7jMneGlwRrcSM?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2024 05:01:47.9104 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9c584413-7f2e-47d2-c5f0-08dc6809795c X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS3PEPF000099DD.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6929 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Sun, 28 Apr 2024 22:01:52 -0700 Resent-From: abner.chang@amd.com Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: Bj8mFvthO3YUDXpdS2pmS9ZBx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=nAwsal6u; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io From: Abner Chang BZ# 4695 Signed-off-by: Abner Chang Cc: Abdul Lateef Attar Cc: Nickle Wang --- .../ManageabilityPkg/ManageabilityPkg.dsc | 72 ++++++++++++++----- 1 file changed, 56 insertions(+), 16 deletions(-) diff --git a/Features/ManageabilityPkg/ManageabilityPkg.dsc b/Features/Mana= geabilityPkg/ManageabilityPkg.dsc index 87b32f1182..8608450a3b 100644 --- a/Features/ManageabilityPkg/ManageabilityPkg.dsc +++ b/Features/ManageabilityPkg/ManageabilityPkg.dsc @@ -3,7 +3,7 @@ # This is the package provides edk2 drivers and libraries # those are related to the platform management. # -# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+# Copyright (C) 2023-2024 Advanced Micro Devices, Inc. All rights reserved= .
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -18,15 +18,7 @@ BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT =20 -[Packages] - MinPlatformPkg/MinPlatformPkg.dec - [PcdsFeatureFlag] - # - # MinPlatform common include currently required PCD - # - gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable = |FALSE - gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable = |FALSE =20 # # Manageability modules @@ -45,19 +37,67 @@ gManageabilityPkgTokenSpaceGuid.PcdManageabilityPeiIpmiFrb = |TRUE gManageabilityPkgTokenSpaceGuid.PcdManageabilityDxeIpmiBmcAcpi = |TRUE =20 -# -# Include common libraries -# -!include MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc -!include MinPlatformPkg/Include/Dsc/CorePeiLib.dsc -!include MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc - [Components] ManageabilityPkg/Library/ManageabilityTransportKcsLib/Dxe/DxeManageabili= tyTransportKcs.inf ManageabilityPkg/Library/ManageabilityTransportMctpLib/Dxe/DxeManageabil= ityTransportMctp.inf ManageabilityPkg/Library/PldmProtocolLibrary/Dxe/PldmProtocolLib.inf ManageabilityPkg/Library/IpmiCommandLib/IpmiCommandLib.inf =20 + # + # Generic EDKII Lib + # + +!include MdePkg/MdeLibs.dsc.inc + +[LibraryClasses.common] + + # + # Entry point + # + UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf + PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf + # + # Basic + # + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf + # + # UEFI & PI + # + UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.inf + UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/U= efiRuntimeServicesTableLib.inf + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf + PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/= PeiServicesTablePointerLibIdt.inf + PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf + DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf + DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableL= ib.inf + # + # Misc + # + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf + ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor= tStatusCodeLib.inf + DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf + OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHo= okStatusCodeLibNull.inf + +[LibraryClasses.common.DXE_SMM_DRIVER] + SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableL= ib.inf + MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.= inf + ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmRepor= tStatusCodeLib.inf + MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAlloc= ationLib.inf + +[LibraryClasses.common.SEC, LibraryClasses.common.PEI_CORE, LibraryClasses= .common.PEIM] + S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptL= ibNull.inf + PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf + HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf + MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAlloc= ationLib.inf + ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiRepor= tStatusCodeLib.inf + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibBase.inf + [LibraryClasses] ManageabilityTransportLib|ManageabilityPkg/Library/BaseManageabilityTran= sportNullLib/BaseManageabilityTransportNull.inf IpmiLib|MdeModulePkg/Library/BaseIpmiLibNull/BaseIpmiLibNull.inf --=20 2.37.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118365): https://edk2.groups.io/g/devel/message/118365 Mute This Topic: https://groups.io/mt/105795618/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-