From: Leif Lindholm <leif.lindholm@linaro.org>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: edk2-devel-01 <edk2-devel@lists.01.org>
Subject: Re: [PATCH] ArmPlatformPkg/PlatformPeiLib: allow patch PCDs for FV base address/size
Date: Fri, 7 Oct 2016 16:51:24 +0100 [thread overview]
Message-ID: <20161007155124.GC3471@bivouac.eciton.net> (raw)
In-Reply-To: <CAKv+Gu_b2eg3nZqRm9ugs=6Gca81XPrWry=8psBiSLHjby=1-g@mail.gmail.com>
On Fri, Oct 07, 2016 at 04:15:36PM +0100, Ard Biesheuvel wrote:
> On 7 October 2016 at 16:14, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
> > Allow patchable or dynamic PCDs to be used for PcdFvBaseAddress and
> > PcdFvBaseSize, so that platforms whose UEFI image may be loaded anywhere
> > in memory can use PlatformPeiLib.
> >
>
> ... and also, drop some references to PCDs that are in fact not used.
>
> > Contributed-under: TianoCore Contribution Agreement 1.0
> > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> > ---
> > ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf | 11 +----------
> > 1 file changed, 1 insertion(+), 10 deletions(-)
> >
> > diff --git a/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf b/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
> > index 314789d0a990..2363d9aa966e 100644
> > --- a/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
> > +++ b/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
> > @@ -39,15 +39,6 @@ [Ppis]
> > gEfiPeiMasterBootModePpiGuid # PPI ALWAYS_PRODUCED
> > gEfiPeiBootInRecoveryModePpiGuid # PPI SOMETIMES_PRODUCED
> >
> > -[FixedPcd]
> > - gArmTokenSpaceGuid.PcdFdBaseAddress
> > - gArmTokenSpaceGuid.PcdFdSize
> > -
> > +[Pcd]
> > gArmTokenSpaceGuid.PcdFvBaseAddress
> > gArmTokenSpaceGuid.PcdFvSize
> > -
> > - gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize
> > - gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize
> > -
> > -[depex]
> > - TRUE
So, especially the depex drop makes me prefer seeing the cleanup as a
separate patch.
Otherwise, looks good to me.
/
Leif
> > --
> > 2.7.4
> >
prev parent reply other threads:[~2016-10-07 15:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-07 15:14 [PATCH] ArmPlatformPkg/PlatformPeiLib: allow patch PCDs for FV base address/size Ard Biesheuvel
2016-10-07 15:15 ` Ard Biesheuvel
2016-10-07 15:51 ` Leif Lindholm [this message]
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=20161007155124.GC3471@bivouac.eciton.net \
--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