From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web08.970.1634949149927831869 for ; Fri, 22 Oct 2021 17:32:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=j2SByCTb; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: nathaniel.l.desimone@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10145"; a="226868078" X-IronPort-AV: E=Sophos;i="5.87,173,1631602800"; d="scan'208";a="226868078" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2021 17:32:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,173,1631602800"; d="scan'208";a="569612416" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by FMSMGA003.fm.intel.com with ESMTP; 22 Oct 2021 17:32:29 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 22 Oct 2021 17:32:28 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 22 Oct 2021 17:32:28 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 22 Oct 2021 17:32:28 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 22 Oct 2021 17:32:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BBjhxdDoUTZfdilh2RAAHUyHTEV8B3yaSNfExEC2h3C9nPokyO2+9LSjuOTqP1Mp9k+xzf46d5VbCmsos+1NnuhwMl0kbmvxtcw2Af1neyBry0liuUGKIeUbp/rngsIPtRDUQNlPRdsuJVy1rQ0gNu7qlAp075UMoV9bafkWNKDFjonGfhW86KCxMWxZ+kIAZaunbln+6df2D59i/f35uNoMrV6feNsTn+BOjaYGQZ/f4PtilYbXZLZ6ufPBFbr1tZZgnqCP32Spj4lhrWfjOaemGVqsOgWLFm3WEluqYqIQFCmEANgOIlGNoiTdS/92ECoBxkLNIJNLdzY5DXtWkg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TxgjPQJyIhir76bL2Aqo+KuDP0L6/HOjo3xLEk8yK78=; b=fcHzKvZa0gJAidf0AhRsZn9bQxAUbhpHOHuU3ygYe6XaHr6BkI+h1iF5gARmidy6f84Ljdzp/5ZKfX8IxsFNhfGCcj1l5VhmmesQkkvTTFUoXNJuhc9+VK/2Oe+pQe5G/W4dia7087dpC5jvBXEIodXWn0EQQOx4psLqTFZKPnKcucJLqKF6/Hg0MEE64woBjf3pc/Ve9Sl7xoYC0mGd4ltjFllhpKshOY8G0QaVLyQ1/lUd80h5RHOxU7sejJSV0hib+K7vpAAmI/AKKT5toinUjhywdoukjf6g5o17v6JVdm0M7ytfnss0LoRHBGgV6icNl4aIfdqG+o+XlRXe7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TxgjPQJyIhir76bL2Aqo+KuDP0L6/HOjo3xLEk8yK78=; b=j2SByCTbBai2UipkvSN6lCESYUMANCuC91PRu+DfegA1ukzRuZRpR2+A5jWbbzXzqfrIx+GP9gaHUNQgncjuEB7SiLwXrmmZ3BBLKuoankJGXzgYh+M+LTjbD3WfxgR8n2KA47XhB6aW43Xgn9XSnTpqdq99aOXQeCUmmCFRGp0= Received: from MW4PR11MB5821.namprd11.prod.outlook.com (2603:10b6:303:184::5) by MW3PR11MB4764.namprd11.prod.outlook.com (2603:10b6:303:5a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Sat, 23 Oct 2021 00:32:26 +0000 Received: from MW4PR11MB5821.namprd11.prod.outlook.com ([fe80::6140:8298:9d5a:df46]) by MW4PR11MB5821.namprd11.prod.outlook.com ([fe80::6140:8298:9d5a:df46%9]) with mapi id 15.20.4628.018; Sat, 23 Oct 2021 00:32:26 +0000 From: "Nate DeSimone" To: "Oram, Isaac W" , "devel@edk2.groups.io" CC: "Chiu, Chasel" , Liming Gao , "Dong, Eric" Subject: Re: [edk2-devel][edk2-platforms][PATCH V1 11/11] MinPlatformPkg/ReportFvLib: Remove obsolete PeiReportFvLib instance Thread-Topic: [edk2-devel][edk2-platforms][PATCH V1 11/11] MinPlatformPkg/ReportFvLib: Remove obsolete PeiReportFvLib instance Thread-Index: AQHXwgs8SaTYbx4yKEeBPJoxuZWbRavfxs7Q Date: Sat, 23 Oct 2021 00:32:26 +0000 Message-ID: References: <2a1dffbb6cb2d460bfa0421426a880faeb03148d.1634331939.git.isaac.w.oram@intel.com> In-Reply-To: <2a1dffbb6cb2d460bfa0421426a880faeb03148d.1634331939.git.isaac.w.oram@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8b943933-1aef-43b5-e39e-08d995bc96e1 x-ms-traffictypediagnostic: MW3PR11MB4764: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: u3FOQ2gcxKamMcWrUljhRQoNPhlqlxJ3GtuLdFqwb3OaQfUsQdj2H2+RFA51b7qQp2padfc2pWHJzpgUqI79PTPrAUM6RyymevpVni7r/1FR1Y18YgP7IG7bgnWCw8xdeySTCZzHNsJJYLea3SJj94hVx+IU51djchsOkzxUkU4b01sXDSu1V/N2Ly4C9qVHvIh5RFvi08bOMPxAHBpe/OwMjBKGpZ4gY+l1oELSd4E1nxR3KHlZQPYdsPboZtVNYtYbap/0k9Ugc4z4TKRpjDJ8ITytQz6VhgQ9acoa3GtcBjfRucI4oGONnk7rFwhP0oxXBfWBgahWuQG3/2jmDZkjXjd/76j9lz8qKA8qRYcN3sIXMoZGCBmbXX/g6y/mYTGdDKFSeX8s+D/Io4mdTWDrqUme2LoTpCHCApl6L5oapFNl98kpwcejETIAdoUztBMN47bgMjbKwQEv2DF9SOi0Ny86wf6AT+oUTQlpshxE72BMGgkokQ3U/5ytyuIscPy8SORHQU572TZtOlP5pcd8LCnyo7XBTbnPnjPVPT8rAVokN3QQs5iiCcOyz+2EVzyMKtGCrb48nxncsGjKgu4M3J5PmSp+DausXKRn8BjLITHR981csJ2BkERu89tJXMuCdRljBs50dtARTa7h2qgTY7JwS3PK+QTEdDOXln0m6ZqZ/h2s2GXJPk1o4iyAtsgR8QviD9iyb4P4h24NVw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5821.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(6029001)(366004)(4326008)(55016002)(186003)(82960400001)(52536014)(107886003)(86362001)(66476007)(38070700005)(110136005)(66946007)(54906003)(6506007)(64756008)(83380400001)(8936002)(508600001)(66446008)(2906002)(33656002)(76116006)(316002)(38100700002)(122000001)(9686003)(8676002)(7696005)(53546011)(26005)(71200400001)(5660300002)(66556008)(19627235002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?e5qLd25nnnpjnGlkEH3+xzP/0D5KkZxL4X2sZK4GOmpjI/NuwsWSa1nD3HUR?= =?us-ascii?Q?3NP9HgHkcRhgROdfMSLfNdonGJ2FDlwqh1bRwS05huFbw/EOinY99tZXmvHH?= =?us-ascii?Q?ne0XtKFHk811W8zGmQ/cWHc0uSeveLBK/SwSwrrfFv1dQcx7600HtAS5tCMN?= =?us-ascii?Q?mn0hASjhgBWY82HXCGGfcZ+MVvZKnOwGe1jtafQt0mm4faKZnn72HUIukPcK?= =?us-ascii?Q?nRbWQTE4ZsWgLV/wBeS3z4RPwI/fb2Y4YknlzINym2JjbfWiQiEAHRn5dPhq?= =?us-ascii?Q?ipwamwmqOdWbfcRCw8FTSr67GbK6rThECbvyso90+WE4Cin/D14iZtFGpuHe?= =?us-ascii?Q?da2QszH12XNGQCboFRPraTpDiSq/GN3hlsjWeHIF1lIM6aZKMqTAQlbWEmZh?= =?us-ascii?Q?P4itVK86Qv87czoNG1uZMTRqTSJsQ3L9m8MvKLNYGIcVnTOvorY4osBTjmxD?= =?us-ascii?Q?Bb3dqzFp15eX/VwqGP6CeUKMeV9G6yhzeoflkW0SJGnkr5bBJ08VNuWWomsf?= =?us-ascii?Q?toZs6rhfL2CCMpQJQ1aAfgiHLbCW11yNu87hMMwfHsL64mVV7W7knmVuFD+V?= =?us-ascii?Q?vh85dJeShvXznjcY/m0s5QDjQ+L6PpN2umJ23lYxPN5Qr84RwJPy6peRxkLn?= =?us-ascii?Q?1keU6YNRt5wSKDp1Os+tlzOfpgZVgv53lD79JfCNm/8DTS8IeNXSqcytfZmK?= =?us-ascii?Q?4WeaLScCfDIqT7iD7vpUM9GTTm6Xgn42Dfq+Mg+5H02eEKG2QmbT7f5fS10x?= =?us-ascii?Q?HZKA7D2AwZGH0Jrod3OTNBw4uXcnu8PK4WXwfHGKAA4+U64tsiE/eXn1Wn0J?= =?us-ascii?Q?J/q7a48TUfXigdKt+d7/X9Oo4b2mElS61itivEbG5qOZSYjwjKX7xupRXXT/?= =?us-ascii?Q?qayaB0akPOVt2SSSSuOHcMy56fKXI7L2mXwaT3XJjsxf+9+8/DQYxNoIU6Nh?= =?us-ascii?Q?5+B0huEBBWybu+sWYzg69i486bYjfd/GnKj1L1Q2dMHRdI0TDJnLqV7xmpQT?= =?us-ascii?Q?fHf/ZlRcfQt2aoyHrAYH9IBlZRNod6sbAuDIFevYmQzxddEKvgHaRH06qYpN?= =?us-ascii?Q?Xd7RNGjwNcSWfRvhnAW9jFDxc+Ebel54SNzy/LvbGIsWyYQ+qXTmV4ARpXou?= =?us-ascii?Q?aVcTWgkszCDffRWaH61aC1XLh6Q1GB2UEnv4wv7/CedUmObRYAwxDlSyBUBg?= =?us-ascii?Q?kSElou50ZgZNyLgC7uLMzEOxNgg4u6hYzZYEda/+Urb3JK3GCcrShg/khNE2?= =?us-ascii?Q?7kZMfm1iTtpl1vSjsn7LTe4VT/4hovQJk+Cg7rfb4dewez1il9v8qxm3KmRl?= =?us-ascii?Q?KZobANmHzsDw47C6EAG8Pj33uFIKQC0oufNgjYrgFNamN4fYg1K1W2fD1aL4?= =?us-ascii?Q?rLRheSpJGcGeXyqd93lQs7/cCkAcx5z493Y0+JFkjbf31w52domZEFvJxmjQ?= =?us-ascii?Q?1LFylKfRoIhI5IApdnLSzZlw4UJ6XWdujPebvvkxLDt/O60V3nB+dF0IzERh?= =?us-ascii?Q?rBL/etv3kxWC1/nLPn/J+ehIlNntxAaqfK/g7IXopV83BPmhqtHuqe93MS73?= =?us-ascii?Q?xMj6iCCDRLcrZNMul/7+69tCCpqhUaWd26m4zQaA+6o5JrugROd+EMSlTlwX?= =?us-ascii?Q?lV8//n08jsWZZlx2gVEdmRzpIcrJ3l2IYZ6+g1o2OuPYZ2th4wUS8NPUyZfD?= =?us-ascii?Q?ngEtJA=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8b943933-1aef-43b5-e39e-08d995bc96e1 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2021 00:32:26.6446 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Dwj6XoI2vR9evEg0EQuqAQXeIJ81dWO2K2DwH3+Eku2ppTeTiDiXsXEH3qM1RuAV+hcFl2mHbIgpC5q6chLksYogWS4/3wrq0f6hsDuooEY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4764 Return-Path: nathaniel.l.desimone@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Nate DeSimone > -----Original Message----- > From: Oram, Isaac W > Sent: Friday, October 15, 2021 2:26 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Desimone, Nathaniel L > ; Liming Gao > ; Dong, Eric > Subject: [edk2-devel][edk2-platforms][PATCH V1 11/11] > MinPlatformPkg/ReportFvLib: Remove obsolete PeiReportFvLib instance >=20 > All boards have been updated to use the new libraries or custom instances= . >=20 > Cc: Chasel Chiu > Cc: Nate DeSimone > Cc: Liming Gao > Cc: Eric Dong > Signed-off-by: Isaac Oram > --- > Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc = | 1 - >=20 > Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiRep > ortFvLib.c | 143 -------------------- >=20 > Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiRep > ortFvLib.inf | 50 ------- > 3 files changed, 194 deletions(-) >=20 > diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc > b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc > index 1dfca06a10..58415326f4 100644 > --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc > +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc > @@ -93,7 +93,6 @@ > # PEI phase common > # >=20 > FspWrapperPlatformLib|MinPlatformPkg/FspWrapper/Library/PeiFspWrapp > erPlatformLib/PeiFspWrapperPlatformLib.inf > - > ReportFvLib|MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiReport > FvLib.inf >=20 > ReportCpuHobLib|IntelSiliconPkg/Library/ReportCpuHobLib/ReportCpuHobLi > b.inf >=20 > TestPointCheckLib|MinPlatformPkg/Test/Library/TestPointCheckLib/PeiTest > PointCheckLib.inf > TestPointLib|MinPlatformPkg/Test/Library/TestPointLib/PeiTestPointLib.= inf > diff --git > a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiRe > portFvLib.c > b/Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiR > eportFvLib.c > deleted file mode 100644 > index 833a77c702..0000000000 > --- > a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiRe > portFvLib.c > +++ /dev/null > @@ -1,143 +0,0 @@ > -/** @file > - Source code file for Report Firmware Volume (FV) library > - > -Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.
> -SPDX-License-Identifier: BSD-2-Clause-Patent > - > -**/ > - > -#include > -#include > -#include > -#include > -#include > -#include > -#include > -#include > - > -VOID > -ReportPreMemFv ( > - VOID > - ) > -{ > - /// > - /// Note : FSP FVs except FSP-T FV are installed in IntelFsp2WrapperPk= g in > Dispatch mode. > - /// > - if (PcdGetBool(PcdFspWrapperBootMode)) { > - DEBUG ((DEBUG_INFO, "Install FlashFvFspT - 0x%x, 0x%x\n", PcdGet32 > (PcdFlashFvFspTBase), PcdGet32 (PcdFlashFvFspTSize))); > - PeiServicesInstallFvInfo2Ppi ( > - &(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) PcdGet32 > (PcdFlashFvFspTBase))->FileSystemGuid), > - (VOID *) (UINTN) PcdGet32 (PcdFlashFvFspTBase), > - PcdGet32 (PcdFlashFvFspTSize), > - NULL, > - NULL, > - 0 > - ); > - } > - DEBUG ((DEBUG_INFO, "Install FlashFvSecurity - 0x%x, 0x%x\n", PcdGet32 > (PcdFlashFvSecurityBase), PcdGet32 (PcdFlashFvSecuritySize))); > - PeiServicesInstallFvInfo2Ppi ( > - &(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) PcdGet32 > (PcdFlashFvSecurityBase))->FileSystemGuid), > - (VOID *) (UINTN) PcdGet32 (PcdFlashFvSecurityBase), > - PcdGet32 (PcdFlashFvSecuritySize), > - NULL, > - NULL, > - 0 > - ); > - if (PcdGet8 (PcdBootStage) >=3D 6) { > - DEBUG (( > - DEBUG_INFO, > - "Install FlashFvAdvancedPreMemory - 0x%x, 0x%x\n", > - PcdGet32 (PcdFlashFvAdvancedPreMemoryBase), > - PcdGet32 (PcdFlashFvAdvancedPreMemorySize) > - )); > - PeiServicesInstallFvInfo2Ppi ( > - &(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) PcdGet32 > (PcdFlashFvAdvancedPreMemoryBase))->FileSystemGuid), > - (VOID *) (UINTN) PcdGet32 (PcdFlashFvAdvancedPreMemoryBase), > - PcdGet32 (PcdFlashFvAdvancedPreMemorySize), > - NULL, > - NULL, > - 0 > - ); > - } > -} > - > -VOID > -ReportPostMemFv ( > - VOID > - ) > -{ > - EFI_STATUS Status; > - EFI_BOOT_MODE BootMode; > - > - Status =3D PeiServicesGetBootMode (&BootMode); > - ASSERT_EFI_ERROR (Status); > - > - /// > - /// Note : FSP FVs except FSP-T FV are installed in IntelFsp2WrapperPk= g in > Dispatch mode. > - /// > - > - /// > - /// Build HOB for DXE > - /// > - if (BootMode =3D=3D BOOT_IN_RECOVERY_MODE) { > - /// > - /// Prepare the recovery service > - /// > - } else { > - DEBUG ((DEBUG_INFO, "Install FlashFvPostMemory - 0x%x, 0x%x\n", > PcdGet32 (PcdFlashFvPostMemoryBase), PcdGet32 > (PcdFlashFvPostMemorySize))); > - PeiServicesInstallFvInfo2Ppi ( > - &(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) PcdGet32 > (PcdFlashFvPostMemoryBase))->FileSystemGuid), > - (VOID *) (UINTN) PcdGet32 (PcdFlashFvPostMemoryBase), > - PcdGet32 (PcdFlashFvPostMemorySize), > - NULL, > - NULL, > - 0 > - ); > - DEBUG ((DEBUG_INFO, "Install FlashFvUefiBoot - 0x%x, 0x%x\n", > PcdGet32 (PcdFlashFvUefiBootBase), PcdGet32 (PcdFlashFvUefiBootSize))); > - PeiServicesInstallFvInfo2Ppi ( > - &(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) PcdGet32 > (PcdFlashFvUefiBootBase))->FileSystemGuid), > - (VOID *) (UINTN) PcdGet32 (PcdFlashFvUefiBootBase), > - PcdGet32 (PcdFlashFvUefiBootSize), > - NULL, > - NULL, > - 0 > - ); > - DEBUG ((DEBUG_INFO, "Install FlashFvOsBoot - 0x%x, 0x%x\n", PcdGet32 > (PcdFlashFvOsBootBase), PcdGet32 (PcdFlashFvOsBootSize))); > - PeiServicesInstallFvInfo2Ppi ( > - &(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) PcdGet32 > (PcdFlashFvOsBootBase))->FileSystemGuid), > - (VOID *) (UINTN) PcdGet32 (PcdFlashFvOsBootBase), > - PcdGet32 (PcdFlashFvOsBootSize), > - NULL, > - NULL, > - 0 > - ); > - if (PcdGet8 (PcdBootStage) >=3D 6) { > - DEBUG ((DEBUG_INFO, "Install FlashFvAdvanced - 0x%x, 0x%x\n", > PcdGet32 (PcdFlashFvAdvancedBase), PcdGet32 > (PcdFlashFvAdvancedSize))); > - PeiServicesInstallFvInfo2Ppi ( > - &(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) PcdGet32 > (PcdFlashFvAdvancedBase))->FileSystemGuid), > - (VOID *) (UINTN) PcdGet32 (PcdFlashFvAdvancedBase), > - PcdGet32 (PcdFlashFvAdvancedSize), > - NULL, > - NULL, > - 0 > - ); > - } > - } > - > - // > - // Report resource HOB for flash FV > - // > - BuildResourceDescriptorHob ( > - EFI_RESOURCE_MEMORY_MAPPED_IO, > - (EFI_RESOURCE_ATTRIBUTE_PRESENT | > - EFI_RESOURCE_ATTRIBUTE_INITIALIZED | > - EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE), > - (UINTN) PcdGet32 (PcdFlashAreaBaseAddress), > - (UINTN) PcdGet32 (PcdFlashAreaSize) > - ); > - BuildMemoryAllocationHob ( > - (UINTN) PcdGet32 (PcdFlashAreaBaseAddress), > - (UINTN) PcdGet32 (PcdFlashAreaSize), > - EfiMemoryMappedIO > - ); > -} > diff --git > a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiRe > portFvLib.inf > b/Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiR > eportFvLib.inf > deleted file mode 100644 > index 4258d0f2e7..0000000000 > --- > a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiRe > portFvLib.inf > +++ /dev/null > @@ -1,50 +0,0 @@ > -### @file > -# Component information file for the Report Firmware Volume (FV) library= . > -# > -# Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.
= -# -# > SPDX-License-Identifier: BSD-2-Clause-Patent -# -### > - > -[Defines] > - INF_VERSION =3D 0x00010017 > - BASE_NAME =3D PeiReportFvLib > - FILE_GUID =3D 44328FA5-E4DD-4A15-ABDF-C6584AC363D= 9 > - VERSION_STRING =3D 1.0 > - MODULE_TYPE =3D PEIM > - LIBRARY_CLASS =3D ReportFvLib > - > -[LibraryClasses] > - BaseMemoryLib > - DebugLib > - HobLib > - PeiServicesLib > - > -[Packages] > - MdePkg/MdePkg.dec > - MdeModulePkg/MdeModulePkg.dec > - MinPlatformPkg/MinPlatformPkg.dec > - > -[Sources] > - PeiReportFvLib.c > - > -[Pcd] > - gMinPlatformPkgTokenSpaceGuid.PcdBootStage ## CON= SUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFspWrapperBootMode ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashAreaBaseAddress ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashAreaSize ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTBase ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTSize ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPostMemoryBase ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPostMemorySize ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvUefiBootBase ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvUefiBootSize ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvOsBootBase ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvOsBootSize ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvSecurityBase ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvSecuritySize ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedPreMemoryBase > ## CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedPreMemorySize > ## CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedBase ## > CONSUMES > - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedSize ## > CONSUMES > -- > 2.27.0.windows.1