public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Dandan Bi" <dandan.bi@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"ard.biesheuvel@linaro.org" <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Subject: Re: [edk2-devel] [patch 2/7] BeagleBoardPkg: Update UefiDecompressLib instance
Date: Fri, 5 Apr 2019 01:03:08 +0000	[thread overview]
Message-ID: <3C0D5C461C9E904E8F62152F6274C0BB40BB7C6A@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <CAKv+Gu86-0d=YaHc5qA1WCeOEePQKDZ3gw=KegFhRkAAE7PzSA@mail.gmail.com>

> -----Original Message-----
> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> Ard Biesheuvel
> Sent: Thursday, April 04, 2019 11:27 PM
> To: Bi, Dandan <dandan.bi@intel.com>
> Cc: devel@edk2.groups.io; Leif Lindholm <leif.lindholm@linaro.org>
> Subject: Re: [edk2-devel] [patch 2/7] BeagleBoardPkg: Update
> UefiDecompressLib instance
> 
> On Thu, 4 Apr 2019 at 20:52, Dandan Bi <dandan.bi@intel.com> wrote:
> >
> > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1683
> >
> > BaseUefiDecompressLib in MdePkg is the base UEFI decompress Library.
> > BaseUefiTianoCustomDecompressLib in IntelFrameworkModulePkg
> implements
> > the base UEFI decompress functionality and Tiano decompress
> > functionality.
> >
> > 1. TIANOCOMPRESSED rule in BeagleBoardPkg.fdf is not used, so remove
> > it.
> > 2. Platform doesn't use the TianoCompress, so do not have to use
> > BaseUefiTianoCustomDecompressLib, can use the BaseUefiDecompressLib
> in
> > MdePkg directly.
> >
> > Cc: Leif Lindholm <leif.lindholm@linaro.org>
> > Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> > Contributed-under: TianoCore Contribution Agreement 1.1
> > Signed-off-by: Dandan Bi <dandan.bi@intel.com>
> > ---
> >  BeagleBoardPkg/BeagleBoardPkg.dsc | 4 ++--
> > BeagleBoardPkg/BeagleBoardPkg.fdf | 9 ---------
> >  2 files changed, 2 insertions(+), 11 deletions(-)
> >
> > diff --git a/BeagleBoardPkg/BeagleBoardPkg.dsc
> > b/BeagleBoardPkg/BeagleBoardPkg.dsc
> > index e0fee3692f..e5fbe7eeb2 100644
> > --- a/BeagleBoardPkg/BeagleBoardPkg.dsc
> > +++ b/BeagleBoardPkg/BeagleBoardPkg.dsc
> > @@ -185,17 +185,17 @@
> >
> PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforma
> nceLib.inf
> >
> >
> NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscove
> ra
> > bleDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf
> >
> >  [LibraryClasses.common.UEFI_APPLICATION]
> >
> >
> ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatus
> Cod
> > eLibFramework/DxeReportStatusCodeLib.inf
> > -
> >
> UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCust
> omD
> > ecompressLib/BaseUefiTianoCustomDecompressLib.inf
> > +
> > +
> UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDeco
> m
> > + pressLib.inf
> >
> PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforma
> nceLib.inf
> >    HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
> >
> >  [LibraryClasses.common.UEFI_DRIVER]
> >
> >
> ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatus
> Cod
> > eLibFramework/DxeReportStatusCodeLib.inf
> > -
> >
> UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCust
> omD
> > ecompressLib/BaseUefiTianoCustomDecompressLib.inf
> > +
> > +
> UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDeco
> m
> > + pressLib.inf
> >
> ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/Dxe
> ExtractGuidedSectionLib.inf
> >
> PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerforma
> nceLib.inf
> >    DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
> >
> >  [LibraryClasses.common.DXE_RUNTIME_DRIVER]
> 
> Can we add a single UefiDecompressLib resolution to the common section
> and drop all the others?

Yes, I will cover this in V2 and pick up your Reviewed-by.

Thanks,
Dandan
> 
> > diff --git a/BeagleBoardPkg/BeagleBoardPkg.fdf
> > b/BeagleBoardPkg/BeagleBoardPkg.fdf
> > index 42d6bad0c7..9c9cecf894 100644
> > --- a/BeagleBoardPkg/BeagleBoardPkg.fdf
> > +++ b/BeagleBoardPkg/BeagleBoardPkg.fdf
> > @@ -262,19 +262,10 @@ READ_LOCK_STATUS   = TRUE
> >       PEI_DEPEX PEI_DEPEX Optional
> $(INF_OUTPUT)/$(MODULE_NAME).depex
> >       PE32      PE32                     $(INF_OUTPUT)/$(MODULE_NAME).efi
> >       UI       STRING="$(MODULE_NAME)" Optional
> >    }
> >
> > -[Rule.Common.PEIM.TIANOCOMPRESSED]
> > -  FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {
> > -    PEI_DEPEX PEI_DEPEX Optional
> $(INF_OUTPUT)/$(MODULE_NAME).depex
> > -    GUIDED A31280AD-481E-41B6-95E8-127F4C984779
> PROCESSING_REQUIRED = TRUE {
> > -      PE32      PE32                    $(INF_OUTPUT)/$(MODULE_NAME).efi
> > -      UI        STRING="$(MODULE_NAME)" Optional
> > -    }
> > -  }
> > -
> >  [Rule.Common.DXE_CORE]
> >    FILE DXE_CORE = $(NAMED_GUID) {
> >      PE32     PE32                       $(INF_OUTPUT)/$(MODULE_NAME).efi
> >      UI       STRING="$(MODULE_NAME)" Optional
> >    }
> > --
> > 2.18.0.windows.1
> >
> 
> With the above update:
> 
> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> 
> 


  reply	other threads:[~2019-04-05  1:03 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-04 13:52 [patch 0/7] Move BaseUefiTianoCustomDecompressLib from IntelFrameworkModulePkg to MdeModulePkg dandan.bi
2019-04-04 13:52 ` [patch 1/7] ArmVirtPkg: Update UefiDecompressLib instance Dandan Bi
2019-04-04 14:57   ` Laszlo Ersek
2019-04-05  1:10     ` Dandan Bi
2019-04-04 13:52 ` [patch 2/7] BeagleBoardPkg: " Dandan Bi
2019-04-04 15:26   ` Ard Biesheuvel
2019-04-05  1:03     ` Dandan Bi [this message]
2019-04-04 13:52 ` [patch 3/7] EmulatorPkg: " Dandan Bi
2019-04-04 13:52 ` [patch 4/7] MdeModulePkg: Move BaseUefiTianoCustomDecompressLib to Dandan Bi
2019-04-04 14:21   ` [edk2-devel] " Laszlo Ersek
2019-04-05  1:21     ` Dandan Bi
2019-04-04 21:14   ` felixp
2019-04-05  1:00     ` Dandan Bi
2019-04-04 13:52 ` [patch 5/7] Nt32Pkg: Update to use UefiDecompressLib in MdeModulePkg Dandan Bi
2019-04-04 21:21   ` [edk2-devel] " Felix Polyudov
2019-04-05  0:52     ` Dandan Bi
2019-04-04 13:52 ` [patch 6/7] Quark: " Dandan Bi
2019-04-04 13:52 ` [patch 7/7] Vlv2TbltDevicePkg: " Dandan Bi
2019-04-08  3:30   ` Qian, Yi
2019-04-23 16:26 ` [patch 0/7] Move BaseUefiTianoCustomDecompressLib from IntelFrameworkModulePkg to MdeModulePkg Ard Biesheuvel
2019-04-23 23:13   ` [edk2-devel] " Dandan Bi
2019-04-24  9:52   ` Laszlo Ersek
2019-04-24 12:46     ` Liming Gao
2019-04-24 12:48       ` Ard Biesheuvel
2019-04-24 13:02         ` Liming Gao
2019-04-24 13:03           ` Ard Biesheuvel
2019-04-24 17:23             ` Michael D Kinney

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=3C0D5C461C9E904E8F62152F6274C0BB40BB7C6A@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