From: "Ni, Ray" <ray.ni@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"Bi, Dandan" <dandan.bi@intel.com>
Subject: Re: [edk2-devel] [patch 02/11] FatPkg/FatPei: Remove PcdFrameworkCompatibilitySupport usage
Date: Sun, 5 May 2019 03:25:24 +0000 [thread overview]
Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C12602C@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20190429021607.11304-3-dandan.bi@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Dandan
> Bi
> Sent: Monday, April 29, 2019 10:16 AM
> To: devel@edk2.groups.io
> Cc: Ni, Ray <ray.ni@intel.com>
> Subject: [edk2-devel] [patch 02/11] FatPkg/FatPei: Remove
> PcdFrameworkCompatibilitySupport usage
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1464
>
> Currently Framework compatibility is not needed and
> PcdFrameworkCompatibilitySupport will be removed from edk2.
> So remove the usage of this PCD firstly.
>
> Cc: Ray Ni <ray.ni@intel.com>
> Signed-off-by: Dandan Bi <dandan.bi@intel.com>
> ---
> FatPkg/FatPei/FatLiteApi.c | 10 +---------
> FatPkg/FatPei/FatPei.inf | 4 ----
> 2 files changed, 1 insertion(+), 13 deletions(-)
>
> diff --git a/FatPkg/FatPei/FatLiteApi.c b/FatPkg/FatPei/FatLiteApi.c index
> 0bf6ddae6a..b9f883b9e0 100644
> --- a/FatPkg/FatPei/FatLiteApi.c
> +++ b/FatPkg/FatPei/FatLiteApi.c
> @@ -1,9 +1,9 @@
> /** @file
> FAT recovery PEIM entry point, Ppi Functions and FAT Api functions.
>
> -Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
> +Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
>
> SPDX-License-Identifier: BSD-2-Clause-Patent
>
> **/
>
> @@ -429,14 +429,10 @@ GetRecoveryCapsuleInfo (
>
> if (EFI_ERROR (Status)) {
> return Status;
> }
>
> - if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {
> - CapsuleInstance = CapsuleInstance + 1;
> - }
> -
> if ((CapsuleInstance == 0) || (CapsuleInstance > NumberRecoveryCapsules))
> {
> return EFI_NOT_FOUND;
> }
>
> PrivateData = PEI_FAT_PRIVATE_DATA_FROM_THIS (This); @@ -557,14
> +553,10 @@ LoadRecoveryCapsule (
>
> if (EFI_ERROR (Status)) {
> return Status;
> }
>
> - if (FeaturePcdGet (PcdFrameworkCompatibilitySupport)) {
> - CapsuleInstance = CapsuleInstance + 1;
> - }
> -
> if ((CapsuleInstance == 0) || (CapsuleInstance > NumberRecoveryCapsules))
> {
> return EFI_NOT_FOUND;
> }
>
> PrivateData = PEI_FAT_PRIVATE_DATA_FROM_THIS (This); diff --git
> a/FatPkg/FatPei/FatPei.inf b/FatPkg/FatPei/FatPei.inf index
> b554aae040..d3466db9bf 100644
> --- a/FatPkg/FatPei/FatPei.inf
> +++ b/FatPkg/FatPei/FatPei.inf
> @@ -63,14 +63,10 @@
> [Ppis]
> gEfiPeiVirtualBlockIoPpiGuid ## SOMETIMES_CONSUMES
> PPI_NOTIFY
> gEfiPeiVirtualBlockIo2PpiGuid ## SOMETIMES_CONSUMES
> PPI_NOTIFY
> gEfiPeiDeviceRecoveryModulePpiGuid ## SOMETIMES_PRODUCES
>
> -
> -[FeaturePcd]
> - gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport
> ## CONSUMES
> -
> [Pcd]
> gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName ##
> CONSUMES
>
> [Depex]
> gEfiPeiMemoryDiscoveredPpiGuid AND
> gEfiPeiBootInRecoveryModePpiGuid
> --
> 2.18.0.windows.1
>
>
>
next prev parent reply other threads:[~2019-05-05 3:29 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-29 2:15 [patch 00/11] Remove PcdFrameworkCompatibilitySupport Dandan Bi
2019-04-29 2:15 ` [patch 01/11] BaseTools/VfrCompile: Remove framework VFR support Dandan Bi
2019-05-07 5:52 ` [edk2-devel] " Bob Feng
2019-05-07 6:00 ` Liming Gao
2019-04-29 2:15 ` [patch 02/11] FatPkg/FatPei: Remove PcdFrameworkCompatibilitySupport usage Dandan Bi
2019-05-05 3:25 ` Ni, Ray [this message]
2019-04-29 2:15 ` [patch 03/11] IntelFrameworkModulePkg: " Dandan Bi
2019-05-07 5:59 ` Liming Gao
2019-04-29 2:16 ` [patch 04/11] MdeModulePkg/Core: " Dandan Bi
2019-05-06 1:22 ` [edk2-devel] " Wu, Hao A
2019-05-06 2:48 ` Dandan Bi
2019-05-06 2:54 ` Wu, Hao A
2019-05-07 7:08 ` Dandan Bi
2019-05-08 8:23 ` Liming Gao
2019-04-29 2:16 ` [patch 05/11] MdeModulePkg/CdExpress: " Dandan Bi
2019-05-06 1:05 ` Wu, Hao A
2019-04-29 2:16 ` [patch 06/11] MdeModulePkg/Setup: " Dandan Bi
2019-05-07 6:13 ` Dong, Eric
2019-04-29 2:16 ` [patch 07/11] QuarkPlatformPkg: " Dandan Bi
2019-05-07 5:58 ` [edk2-devel] " Liming Gao
2019-04-29 2:16 ` [patch 08/11] SignedCapsulePkg: " Dandan Bi
2019-04-29 2:16 ` [patch 09/11] UefiCpuPkg: " Dandan Bi
2019-04-29 15:15 ` Laszlo Ersek
2019-04-29 2:16 ` [patch 10/11] Vlv2TbltDevicePkg: " Dandan Bi
2019-05-07 8:35 ` Sun, Zailiang
2019-04-29 2:16 ` [patch 11/11] MdeModulePkg: Remove PcdFrameworkCompatibilitySupport Dandan Bi
2019-05-06 1:25 ` Wu, Hao A
[not found] ` <1599D055711F0B7C.4588@groups.io>
[not found] ` <3C0D5C461C9E904E8F62152F6274C0BB40BD01BF@SHSMSX104.ccr.corp.intel.com>
2019-05-07 6:02 ` [edk2-devel] [patch 08/11] SignedCapsulePkg: Remove PcdFrameworkCompatibilitySupport usage Yao, Jiewen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=734D49CCEBEEF84792F5B80ED585239D5C12602C@SHSMSX104.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox