public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Thomas Panakamattam Abraham <thomas.abraham@arm.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>,
	 "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
	Nariman Poushin <nariman.poushin@linaro.org>
Subject: Re: [PATCH edk2-platforms] Platform/ARM: replace hardcoded VenHW() device paths referring to NOR flash
Date: Tue, 20 Nov 2018 15:02:54 +0100	[thread overview]
Message-ID: <CAKv+Gu-dbZTxSsTwhS-1JU2eJxyh1V1BM+r6jLD=-DoqC0HSfg@mail.gmail.com> (raw)
In-Reply-To: <CAJuA9aixM=KS33SfvWHjm_MCriA8yoEU7PwXt7iKGJvRq9r5Qg@mail.gmail.com>

On Tue, 20 Nov 2018 at 15:01, Thomas Abraham <thomas.abraham@arm.com> wrote:
>
> On Tue, Nov 20, 2018 at 1:01 AM Ard Biesheuvel
> <ard.biesheuvel@linaro.org> wrote:
> >
> > On Mon, 19 Nov 2018 at 11:30, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> > >
> > > Hmm, a follow-up question (which does not affect my r-b):
> > >
> > > We still keep the manually generated GUIDs in
> > > ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.c,
> > > Platform/ARM/JunoPkg/Library/NorFlashJunoLib/NorFlashJuno.c,
> > > Platform/ARM/SgiPkg/Library/NorFlashLib/NorFlashLib.c,
> > > Platform/ARM/VExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpress.c,
> > > Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacer.c,
> > >
> > > and indeed in the NOR_FLASH_DESCRIPTION struct in
> > > ArmPlatformPkg/Include/Library/NorFlashPlatformLib.h
> > >
> > > Is this an opportunity for a negative diffstat?
> > >
> >
> > Yes. I was anticipating some discussion on renaming the NOR flash
> > blocks, but indeed, we can drop all of the above once the rename
> > change is in.
> >
> >
> > > On Mon, Nov 19, 2018 at 07:12:47PM +0000, Leif Lindholm wrote:
> > > > On Fri, Nov 16, 2018 at 05:23:08PM -0800, Ard Biesheuvel wrote:
> > > > > The ArmPlatformPkg NOR flash driver has been updated to use device paths
> > > > > consisting of a fixed GUID and a numeric index rather than a separate GUID
> > > > > for each flash bank on a given system. This means all explicit device path
> > > > > references to NOR flash banks have to be brought up to date as well.
> > > > >
> > > > > Contributed-under: TianoCore Contribution Agreement 1.1
> > > > > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> > > >
> > > > This looks good to me, but I'd like a comment from Thomas/Nariman.
> > > >
> > > > With that:
> > > > Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
> > > >
>
> Tested this patch and "[PATCH 0/2] ArmPlatformPkg, ArmVirtPkg:
> discover NOR flash banks from DTB" patch series on the SGI-575
> platform. Access to NOR flash works fine with bank index as well.
> Should GUID's listed in all the instances of NOR_FLASH_DESCRIPTION in
> edk2-platforms be removed in this patch?
>

Thank you Thomas.

I will follow up with a patch that removes all the GUIDs once the EDK2
changes are in.


  reply	other threads:[~2018-11-20 14:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-17  1:23 [PATCH edk2-platforms] Platform/ARM: replace hardcoded VenHW() device paths referring to NOR flash Ard Biesheuvel
2018-11-19 19:12 ` Leif Lindholm
2018-11-19 19:29   ` Leif Lindholm
2018-11-19 19:31     ` Ard Biesheuvel
2018-11-20 14:01       ` Thomas Abraham
2018-11-20 14:02         ` Ard Biesheuvel [this message]
2018-11-20 14:10         ` Leif Lindholm
2018-11-20 14:30           ` Thomas Abraham

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='CAKv+Gu-dbZTxSsTwhS-1JU2eJxyh1V1BM+r6jLD=-DoqC0HSfg@mail.gmail.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