From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web12.1635.1634953262680648756 for ; Fri, 22 Oct 2021 18:41:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=mh1k/TSG; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: rangasai.v.chaganty@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10145"; a="315621358" X-IronPort-AV: E=Sophos;i="5.87,173,1631602800"; d="scan'208";a="315621358" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2021 18:41:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,173,1631602800"; d="scan'208";a="484899577" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga007.jf.intel.com with ESMTP; 22 Oct 2021 18:41:01 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) 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 18:41:00 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx601.amr.corp.intel.com (10.18.126.81) 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 18:41:00 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.103) by edgegateway.intel.com (192.55.55.71) 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 18:41:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=enmanYb75LzeaE5bxoaa71zskPlSDemKfz6MLy5U3PFqqzfvO/ypYG0gYtSFhnkZlB5wcsisYjKtJ+gMVXbmP047Gh5rXTu5ThySc53dn2iDO7j76qmGLLkGmLmBHkYYRXsqY56Z4yzebvBgw9ZAcz+kntsM/0282xZbwtm4YarJXaP73585K5tTRaC3zYKLQ1xmsDUm1H7Tb1AVExCRajNyI4/b09I0JtLRvFXE84Kdy6+ZguX6UK5Nns3ge8XBpHNSEl0ABCyhtjZ6GNlJdIcj9ihwOLU/SiIE+mSLvu0tG2K6BKpvlG1+UbTJL7Zep4OPNqoDP2YSOIB4SpJSqg== 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=TZEzsQIeLx9gd2jGsjiRscq/4QtEeEFHUQeLdCFkPfA=; b=dTXxiwuzhR7lYagD+7Yv794W8/Dl2dSs6j5Qn0eWLmt7lvOGQr8PZMKogG6ZzSR8lcwR4h0olGNexZ3EsaFuf51sP6h0gUotUYJcSjCGhg478hVnpTRWqMErBx8XunH5pBp0kTtNYM8JiK4UfDVnexDdMxgc1tDPILgpxd/Fp5GeOILC//MgQLoQzCUZj7wVdy1UdA80cQYhyJtmUigJCY2fuqJ7aHguOUeanzRvgjWGFdlh7zDNzqzC1w5BgrHh11FlB52qmqs+8EQxBy/rjjYN6wtJYKJlb8EPE8wy89r5EYDfe2cq5skF79iTwoPW09qJOQDGIAeDrAwLMKh2vQ== 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=TZEzsQIeLx9gd2jGsjiRscq/4QtEeEFHUQeLdCFkPfA=; b=mh1k/TSGS8ACaXaCR3zWxGGR3OkeBqIuWKxFQOix2dRkt8SzlnGX7cqVfe69SKrEOyUyfYY7yWezMe3xUSg4tH2/mpJcN6CvDhsBzQzHEZKPN6FW+/RkA3iOvyWB8YJYzR3OmYJYoukU9pdEdSt+15aH9dwl++S+Agu+7jfRUBE= Received: from MW3PR11MB4602.namprd11.prod.outlook.com (2603:10b6:303:52::19) by MW3PR11MB4537.namprd11.prod.outlook.com (2603:10b6:303:5d::23) 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 01:40:53 +0000 Received: from MW3PR11MB4602.namprd11.prod.outlook.com ([fe80::a57d:cb7d:3d8b:1064]) by MW3PR11MB4602.namprd11.prod.outlook.com ([fe80::a57d:cb7d:3d8b:1064%9]) with mapi id 15.20.4628.018; Sat, 23 Oct 2021 01:40:53 +0000 From: "Chaganty, Rangasai V" To: "devel@edk2.groups.io" , "Oram, Isaac W" CC: "Chiu, Chasel" , "Desimone, Nathaniel L" , 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: AQHXx68ERklpUtTz40CQMv4oFUwJXg== Date: Sat, 23 Oct 2021 01:40:53 +0000 Message-ID: References: <16AE5156E9B772C6.11150@groups.io> In-Reply-To: <16AE5156E9B772C6.11150@groups.io> 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: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ca1e1c97-412c-43a3-25bd-08d995c626b0 x-ms-traffictypediagnostic: MW3PR11MB4537: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: T6rRVArMgVMIMDafLzEMIXy9JuFWocQgCn0fw2QfsfSmwASJS9a1OYDeI+iOALb8A44M6JB2SZr+kREoIrkg59SbRNMYqxOxM4XmmuTjjqBBNnziaSPyZIirt6wNOnqGoT2tRosAwmCIu8hFxSUl1vd72O3ttHoLkGo7Qv/T1KefGqHYJCSVH9ihF0vGR1Te/HbvJYlg6DcV2EkAREBa5rrQORCyV2l2xxwp3rYIeskx+16JEkanGEQmH5zp00jjr0n5vNu5cW0IeNqzkuBI26lv/VnAvcm/dqUExevZtfiHGatFW5gb5J0iWIpQrRKyqfAZDLV0BoYxEtu5YD7VE4RS3dH9tx9/dsRHtIXBMuW77nbI00wn1sCr3QH0emyRP5bMDfmKnooocuZ6i35kRC/Ngc+1XjK9HGNMd1eUqCtuPDh0wN1IajVvfiM1oOxYWoOTV9dKpifh/kZVIYLxA5SVB6QED2BabsMnQ9FFT369TgYFzLeTEdwjVBS2U2M01yZg6FvkafB46/GMr//vzrp3fTByp4ARnMkwhgnREhEGdfkrKKctf0+nJmMhl1qW9Ac34VoWVM8OWKRy5Y/rXqz4hgfIVyMqCWaQt45fW6efVIFqcN8GBbmTt2YOhtP5ljR1sEZ8dOSdsczx86RdyJv+kZm5uNNe15Q1ZmZXKEHxrjoPM/4ytLQs0wyFQ56OW1PbVVYFsM3VqGYbnJVrlvb5gMEKXQ1jbOQbbiYdQD+yfUfAZibn9pM5QivvbxeuBCjCXdZCOKOYr/ZzOjLsFpn5HeAnBPZwY+8ZWOxun72VKXTEp6cSw/Uto5damFrxpIDgFD4p3EiRjFoGwvJ3xg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW3PR11MB4602.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(6029001)(366004)(38100700002)(122000001)(8936002)(110136005)(316002)(52536014)(8676002)(64756008)(66946007)(54906003)(66556008)(107886003)(71200400001)(19627235002)(33656002)(508600001)(966005)(66476007)(66446008)(76116006)(55016002)(6506007)(53546011)(4326008)(186003)(26005)(83380400001)(7696005)(6636002)(5660300002)(38070700005)(9686003)(82960400001)(86362001)(2906002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?thHV4iU4Ji/ppdMxqEZSTCXEnohG6rBVjt+7JHIBIJVPrR5vmHe3RiZcWUlZ?= =?us-ascii?Q?B0KdQqetuAczQMqqJSmmpwSWuES3xNw7frCVIJcHAIQDekb2oWQbzlTTwW8N?= =?us-ascii?Q?qz/BKzKzBNoExg8/91hHPlvHC7Qnsq7gGBRzVQqtMjolJ5bILB5P92RH3un6?= =?us-ascii?Q?RhVcrj8diaWqVyKF4/hyBT0QVP8StjsfcMHYOj1Yt8UCHD4xWjNkI4prsk0W?= =?us-ascii?Q?bNyR+e607A12xi+kre1cnc1K5fBsZEr8ASe9wZCJJ3oH/DxoXyFbBhYMWsAF?= =?us-ascii?Q?xFJKvbR/LtmqKwsVuUU05aH6cncl4ABJNtm0LaWIln9j63GCm+7xoZ3XHYij?= =?us-ascii?Q?0lxPnOn6DRxrSOLe28hN51H+xNC9RvTWQAUr+5JIvQqZFzXLuJFuFgrobK55?= =?us-ascii?Q?IW9ya+RpaL70PO9e9oyw6ab0xADKcQJJqCVp9Q7ABRSyX0zuSSYmw1G1I2QT?= =?us-ascii?Q?6uLT9OYjL6iOK8Uc1g8uxhi5iQGQarsBAVHzrwT7ypUrWs93rDJpTakuBupl?= =?us-ascii?Q?sRfHW1Ay091RKUchVwSaaxZp69RxTv1zHK+lF2pVgQEu/yvRMtJbKy9xfTTa?= =?us-ascii?Q?zOmWaAVd3D19cQKXdUiJqe8cgbbDqBdN9qj/u8if/6LOzH4dYRql5cTGktK/?= =?us-ascii?Q?Fl2/2XLv2T299FbgIljDEbUnnj6W3gRvKFoZZsxadPqm4Dd1MnWv2q0mIES/?= =?us-ascii?Q?bEyb95RUoG48EiY++s+rvAcH0Nhbh5V79WwryCQlmTBKlb6ZqYcPGEFJrJ2u?= =?us-ascii?Q?CYQ19Lk0+N03L1Q/z0CiyFPSt3dZc0M6tL3Rd/edfZAYTgX1WmNGzxH1HRjv?= =?us-ascii?Q?TKjBtIPxA/1EJT4Je+g5ld/3224jR6ifppl1czLyGOgejwmuKcwdwE1LHzmo?= =?us-ascii?Q?WENPaLgVfBjc/Y6mdTEcEuI2VqZ0HMtL6wvu8kILezmnrgR3K/TND5VqNln2?= =?us-ascii?Q?GCKI70FTWoLjQOtKyMzcop03A5z0c9nssB4Og6RpgY7ofOCUOkVcr675P460?= =?us-ascii?Q?tISgp0D3FV7P2kfnDqq/tV9lby+MY17S1veKnpUWOg96AA5LnB1mDyeQoy8r?= =?us-ascii?Q?UlWktQ+Ajp9AuH9hTgIf8uSw8/cO5kFFe744EV5LAeRZ3gcKnPUxa9Ppy1KX?= =?us-ascii?Q?hUQlPKe4azNffLNV+kTR2TOCEhvLTXbMHgDKeSkj6p3NCwElWQw17HK1Bogn?= =?us-ascii?Q?5dFqoyy+08ucGg/od2Dp84UD2vfzRvCpLmpELXPIJ2H/FJ5sVZ4hb65krChk?= =?us-ascii?Q?4amoVjaX1P7vjM+FIpXFPOy8wmX/tLH9JOcCJDqxRByYo6/gMMnMEpnZzaHs?= =?us-ascii?Q?DlvrKQO14CdJOu9cZDigDB6zcFSlMWQzIRxMa9yJCVVYwgtr9Rh1geH7iUyW?= =?us-ascii?Q?/oOAaZohaa0W4mMyFlU7P+/8kxtbZ5z0uNdG6KiG8CO9M1juBWJiX2l89wia?= =?us-ascii?Q?DQ+qvR2rG62wGhmz+rHVcsz69P8nti8fMEGxyMc5cjcFva0WEzR2zNFuCGkE?= =?us-ascii?Q?UrRObG9G62yFR6iCkyTiY0uGkYxtR2dZcNQ0vRdjxk95beygWIAgi6AN+kHG?= =?us-ascii?Q?b9jjNApMLT4Fv+J+mOAG4vYCVKko2QFqhPczMFXm6DBQkTsq4bBqhuLZJjk6?= =?us-ascii?Q?8Tw1fFMOufmnnHjbHc33rNu/o/umZb4LkBuJr33dM4SkxBDLtxUVNW63LqNb?= =?us-ascii?Q?W/MH3A=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW3PR11MB4602.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca1e1c97-412c-43a3-25bd-08d995c626b0 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2021 01:40:53.3154 (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: qthcAkGyJUdTm5SpychKoxHM5oZek9TupT3xVYoxdure8kI+jzKGpVaN5izrMBB+qJ0uihd+mASA/oFXYzIedDaw9d3zFsvQyfxhE7/lvek= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4537 Return-Path: rangasai.v.chaganty@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Sai Chaganty -----Original Message----- From: devel@edk2.groups.io On Behalf Of 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/Report= FvLib: Remove obsolete PeiReportFvLib instance All boards have been updated to use the new libraries or custom instances. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Isaac Oram --- Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc = | 1 - Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiRepor= tFvLib.c | 143 -------------------- Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiRepor= tFvLib.inf | 50 ------- 3 files changed, 194 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dsc b/Platform/In= tel/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 # FspWrapperPlatformLib|MinPlatformPkg/FspWrapper/Library/PeiFspWrapperPla= tformLib/PeiFspWrapperPlatformLib.inf - ReportFvLib|MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/PeiReport= FvLib.inf ReportCpuHobLib|IntelSiliconPkg/Library/ReportCpuHobLib/ReportCpuHobLib.= inf TestPointCheckLib|MinPlatformPkg/Test/Library/TestPointCheckLib/PeiTestP= ointCheckLib.inf TestPointLib|MinPlatformPkg/Test/Library/TestPointLib/PeiTestPointLib.in= f diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFv= Lib/PeiReportFvLib.c b/Platform/Intel/MinPlatformPkg/PlatformInit/Library/P= eiReportFvLib/PeiReportFvLib.c deleted file mode 100644 index 833a77c702..0000000000 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/Pei= ReportFvLib.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 IntelFsp2WrapperPkg = in Dispatch mode. - /// - if (PcdGetBool(PcdFspWrapperBootMode)) { - DEBUG ((DEBUG_INFO, "Install FlashFvFspT - 0x%x, 0x%x\n", PcdGet32 (Pc= dFlashFvFspTBase), PcdGet32 (PcdFlashFvFspTSize))); - PeiServicesInstallFvInfo2Ppi ( - &(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) PcdGet32 (PcdFlashFvFspTBa= se))->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 (PcdFlashFvSecurity= Base))->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 (PcdFlashFvAdvanc= edPreMemoryBase))->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 IntelFsp2WrapperPkg = 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", PcdGet= 32 (PcdFlashFvPostMemoryBase), PcdGet32 (PcdFlashFvPostMemorySize))); - PeiServicesInstallFvInfo2Ppi ( - &(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) PcdGet32 (PcdFlashFvPostMe= moryBase))->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 (PcdFlashFvUefiBo= otBase))->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 (PcdFlashFvOsBoot= Base))->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", PcdGet= 32 (PcdFlashFvAdvancedBase), PcdGet32 (PcdFlashFvAdvancedSize))); - PeiServicesInstallFvInfo2Ppi ( - &(((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) PcdGet32 (PcdFlashFvAdva= ncedBase))->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/PeiReportFv= Lib/PeiReportFvLib.inf b/Platform/Intel/MinPlatformPkg/PlatformInit/Library= /PeiReportFvLib/PeiReportFvLib.inf deleted file mode 100644 index 4258d0f2e7..0000000000 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/PeiReportFvLib/Pei= ReportFvLib.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-C6584AC363D9 - 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 ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFspWrapperBootMode ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashAreaBaseAddress ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashAreaSize ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTBase ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTSize ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPostMemoryBase ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPostMemorySize ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvUefiBootBase ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvUefiBootSize ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvOsBootBase ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvOsBootSize ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvSecurityBase ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvSecuritySize ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedPreMemoryBase ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedPreMemorySize ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedBase ## CONSU= MES - gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedSize ## CONSU= MES -- 2.27.0.windows.1