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 CBF44740032 for ; Fri, 17 May 2024 03:49:46 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=arRAqKMUeqFaAKG0XFebZiZz+r5maqVBqwT69uLK0m0=; 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=1715917785; v=1; b=dzA1cN5mr34UsvwlOJREOvT/XHwBNMqUTiDhlLW9de9d+0QR+b5jyGh3hTURvvrMBp6p0rnE meMYhGPnNB/R2Ju/6Ub1+S4wzx69wrLea0cTMwZ4JZc6DLDDqBX59yiGJNvvDTwTUUeL0mS63jt +QV2akXrybJJSL4l3ro6ROYh86NTiQ0KYisHJ6bY9pUZ2+pfUgzWLKHecdGC6GZ0eFCpOAdY+NY 5/IBBoPNPcX1QITWCB49UtoT84LuhiO/xWAj+YwY3gWrtCYnObox/5yze7ykc9AFhUI/pkvM7g2 DaLBQbnAzuKmsCo4N9O+pq3VUd8TL27tHDzfGp8tlcXaQ== X-Received: by 127.0.0.2 with SMTP id LkO0YY7687511x8mgzpPa0B9; Thu, 16 May 2024 20:49:45 -0700 X-Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.68]) by mx.groups.io with SMTP id smtpd.web11.32594.1715917784175325257 for ; Thu, 16 May 2024 20:49:44 -0700 X-Received: from MN2PR19CA0038.namprd19.prod.outlook.com (2603:10b6:208:19b::15) by MW5PR12MB5600.namprd12.prod.outlook.com (2603:10b6:303:195::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.28; Fri, 17 May 2024 03:49:41 +0000 X-Received: from BN2PEPF00004FBC.namprd04.prod.outlook.com (2603:10b6:208:19b:cafe::5a) by MN2PR19CA0038.outlook.office365.com (2603:10b6:208:19b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.30 via Frontend Transport; Fri, 17 May 2024 03:49:41 +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 BN2PEPF00004FBC.mail.protection.outlook.com (10.167.243.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7587.21 via Frontend Transport; Fri, 17 May 2024 03:49:40 +0000 X-Received: from SATLEXMB06.amd.com (10.181.40.147) 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; Thu, 16 May 2024 22:49:40 -0500 X-Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 16 May 2024 22:49:24 -0500 X-Received: from BLR-LAB-SFW01.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 via Frontend Transport; Thu, 16 May 2024 22:49:22 -0500 From: "Abdul Lateef Attar via groups.io" To: CC: Abdul Lateef Attar , Abner Chang , Paul Grimes Subject: [edk2-devel] [PATCH 0/5] AmdMinBoardPkg: AMD board specific modules Date: Fri, 17 May 2024 09:19:08 +0530 Message-ID: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF00004FBC:EE_|MW5PR12MB5600:EE_ X-MS-Office365-Filtering-Correlation-Id: 38bf6263-72e9-461b-f918-08dc762461a8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?UFjEM5ihuVHqhvjuWqSFW7hFysWx/iAkbj4C8t4e6AsAbqnSoEGjB48lq1P+?= =?us-ascii?Q?WuzoMzWmo4+5e6YHBdfMh0RqYI7Tw3gg5bucOyw+eDUrMxGLtr6WjbSEr3vi?= =?us-ascii?Q?7ZHIKurAgvSUckIFtaDeypqmP7F+sgMJTfcwKT7nfflBuaCmXy/BevxZHH9c?= =?us-ascii?Q?e5CRvD+qfMDs3A2g7b6Kt5YSR7VMUb9ZTMEp/9g4zC/PBlAFWJP+IyIvuuhZ?= =?us-ascii?Q?bW1GY0kmTW0axSynNyaIVI6SxPKR/ZphS9DsxLE2vCP+/K27pGGXR8n+BRro?= =?us-ascii?Q?RjPDLwf+vAd2c68uEcU1x9D/UPeiqbEoeQCi1ZOlnBTvbIKIUcQjNUwAN96L?= =?us-ascii?Q?sZpgprHohgpJXYvZAS9UW3iKoeJwY6FnUz7wtY2zn2nzvSX/nx9gSNNBULRJ?= =?us-ascii?Q?CaM6dyDnVuYiBWAowz23m0SdcLpTd+UQkufgmkGepnqbRncn9S70RKAZr86G?= =?us-ascii?Q?0bJZL6YPVuZ5GRK6M9MEndQNdI0ExOvZpd6n/GYu6jjgrUtTRX5NQRsJWSWg?= =?us-ascii?Q?LAxFhW41U6dYzYZLT9YYX7jq725NhFfpF0dsBN0sxfiW1mc7zPZ187jQt9Au?= =?us-ascii?Q?kUp69p73pplF6AJj9mFE3E5KedQ+Z/Eeel8eSD0vTAciBsBKJscYNCbxKrwu?= =?us-ascii?Q?XeukBJ1ylYOUjjMApkkN7rtJ5a2SCaX8VPY/gYmJbf7EWfxoGUooYHnZvQQu?= =?us-ascii?Q?Z9q+6pOqtBxPjxt4IdQ9pfKXmzfElSjHXyIGxd/xOIP6dOhRyIYQMaz9TbEb?= =?us-ascii?Q?7TVkCf359KV2P6uA6aa8vYvJMRdHr5qv4dXv2D781kb6w7GPEj6A5CTUnmGh?= =?us-ascii?Q?PxP4l2RnLRXcK/9zVCf4jbmaNvGEzcBDdY4wka0c807ZynMaqi5TTwlgazRR?= =?us-ascii?Q?G9OTZ54VZWrIRpMnYxGMOR5AL8BVxTpEXniS3+V1JmpobLXGQ9yEfEUTeUyP?= =?us-ascii?Q?nD/5OgP/EgXsnH1B99uEWp5o83eVq35z2AsR+eB3ZJzfHroEOiXwMKff+uTu?= =?us-ascii?Q?MyiGo1woCpbreiU7AR5XNWR0uARZsv5FE942BKDyYnGX+zBPIJ8shWyNM6QY?= =?us-ascii?Q?s24UYnscL65hRDf0Dn6/jrYX6cK/ES+Z+KHtIbXcE8gMNI0KIXfej94OhZ5G?= =?us-ascii?Q?AwkDiMwPfbjv8m7tTmNouUCwQT0WUPbZqmyw/v8HuhPhpxvXJeE9m9zGLgMQ?= =?us-ascii?Q?hWjYbKc8eOldA6T87Wxxc0ebASqxAYAuN+Gd5GEdNced0Ji1yghrr2iMEpw+?= =?us-ascii?Q?vCJ0rzhsbRQO5dH+WCFE20pgM9NiKsA4Mi+IMmUa3mJcY0ZioeGpd355tL5D?= =?us-ascii?Q?9vr/3mozjpIRXaITYg80yJl5?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2024 03:49:40.8663 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 38bf6263-72e9-461b-f918-08dc762461a8 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: BN2PEPF00004FBC.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR12MB5600 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: Thu, 16 May 2024 20:49:44 -0700 Resent-From: AbdulLateef.Attar@amd.com Reply-To: devel@edk2.groups.io,AbdulLateef.Attar@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: SGFgBsqE5woJ9wq9YCH6sNNyx7686176AA= 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=dzA1cN5m; 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 PR: https://github.com/tianocore/edk2-platforms/pull/143 Adds various module common to AMD boards. Cc: Abner Chang Cc: Paul Grimes Abdul Lateef Attar (5): AmdMinBoardPkg: Uncrustify PciHotPlug module AmdMinBoardPkg/Library: Uncrustify the Library module AmdMinBoardPkg: Implement BoardInitLib for PEI phase AmdMinBoardPkg: Implement BoardInitLib for DXE phase AmdMinBoardPkg: Implements BoardBdsHookLib library .../AMD/AmdMinBoardPkg/AmdMinBoardPkg.dec | 10 + .../AMD/AmdMinBoardPkg/AmdMinBoardPkg.dsc | 10 +- .../Include/Library/AmdBoardBdsHookLib.h | 130 ++ .../Library/BoardBdsHookLib/BoardBdsHook.h | 242 +++ .../Library/BoardBdsHookLib/BoardBdsHookLib.c | 1712 +++++++++++++++++ .../BoardBdsHookLib/BoardBdsHookLib.inf | 105 + .../Library/BoardBdsHookLib/BoardBootOption.c | 754 ++++++++ .../Library/BoardBdsHookLib/BoardMemoryTest.c | 83 + .../Library/DxeBoardInitLib/DxeBoardInitLib.c | 253 +++ .../DxeBoardInitLib/DxeBoardInitLib.inf | 51 + .../DxeBoardInitLib/DxeBoardInitLibInternal.c | 306 +++ .../DxeBoardInitLib/DxeBoardInitLibInternal.h | 159 ++ .../DxeBoardInitLib/MadtAcpiTablePatch.c | 243 +++ .../PeiBoardInitPreMemLib/AmdMemoryInfoHob.h | 50 + .../PeiBoardInitPreMemLib.c | 229 +++ .../PeiBoardInitPreMemLib.inf | 45 + .../PeiBoardInitPreMemLib/PeiMemoryInit.c | 198 ++ .../PeiBoardInitPreMemLib/PeiMemoryInit.h | 50 + .../Library/PeiReportFvLib/PeiReportFvLib.c | 12 +- .../Library/SetCacheMtrrLib/SetCacheMtrrLib.c | 3 +- .../PciHotPlug/PciHotPlugInit.c | 4 +- .../PciHotPlug/PciHotPlugInit.inf | 5 +- 22 files changed, 4647 insertions(+), 7 deletions(-) create mode 100644 Platform/AMD/AmdMinBoardPkg/Include/Library/AmdBoardBds= HookLib.h create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/BoardBdsHookLib/Boa= rdBdsHook.h create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/BoardBdsHookLib/Boa= rdBdsHookLib.c create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/BoardBdsHookLib/Boa= rdBdsHookLib.inf create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/BoardBdsHookLib/Boa= rdBootOption.c create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/BoardBdsHookLib/Boa= rdMemoryTest.c create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/DxeBoardInitLib/Dxe= BoardInitLib.c create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/DxeBoardInitLib/Dxe= BoardInitLib.inf create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/DxeBoardInitLib/Dxe= BoardInitLibInternal.c create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/DxeBoardInitLib/Dxe= BoardInitLibInternal.h create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/DxeBoardInitLib/Mad= tAcpiTablePatch.c create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/PeiBoardInitPreMemL= ib/AmdMemoryInfoHob.h create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/PeiBoardInitPreMemL= ib/PeiBoardInitPreMemLib.c create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/PeiBoardInitPreMemL= ib/PeiBoardInitPreMemLib.inf create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/PeiBoardInitPreMemL= ib/PeiMemoryInit.c create mode 100644 Platform/AMD/AmdMinBoardPkg/Library/PeiBoardInitPreMemL= ib/PeiMemoryInit.h --=20 2.34.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 (#118974): https://edk2.groups.io/g/devel/message/118974 Mute This Topic: https://groups.io/mt/106148089/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-