[PATCH 11/35] RFC: efi: Drop code that doesn't work with driver model

Tom Rini trini at konsulko.com
Thu Sep 9 22:23:08 CEST 2021


On Thu, Sep 09, 2021 at 10:15:44PM +0200, Mark Kettenis wrote:
> > From: Simon Glass <sjg at chromium.org>
> > Date: Thu, 9 Sep 2021 13:57:39 -0600
> > 
> > Hi Heinrich,
> > 
> > On Thu, 9 Sept 2021 at 03:26, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> > >
> > >
> > >
> > > On 9/9/21 10:57 AM, Simon Glass wrote:
> > > > Hi Heinrich,
> > > >
> > > > On Wed, 8 Sept 2021 at 11:44, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> > > >>
> > > >>
> > > >>
> > > >> On 9/8/21 3:33 PM, Simon Glass wrote:
> > > >>> This code should never have been added as it builds a new feature on top
> > > >>> of legacy code. Drop it and add a dependency on BLK for this feature.
> > > >>>
> > > >>> Boards which want EFI_LOADER should migrate to driver model first.
> > > >>>
> > > >>> Signed-off-by: Simon Glass <sjg at chromium.org>
> > > >>
> > > >> This patch is not related to the rest of the series and the code has a
> > > >> different maintainer.
> > > >>
> > > >> So, please, separate it from the series.
> > > >
> > > > Who is the maintainer?
> > >
> > > Until 623b3a57976 ("efi_selftest: provide an EFI selftest application")
> > > there was no official maintainer for lib/efi/ but you were the main
> > > contributor.
> > >
> > > But with that patch directory lib/efi/ was assigned to EFI PAYLOAD.
> > >
> > > I am happy if you would continue to care about U-Boot on EFI.
> > 
> > OK.
> > 
> > >
> > > >
> > > > I need this patch for this series to work. You can still review things
> > > > for other maintainers and in this case it is common for one maintainer
> > > > to pick up the series once the others are happy.
> > >
> > > The direction of this patch is completely correct.
> > >
> > > There are some things that will have to be changed, e.g we should not
> > > require CONFIG_DM_ETH=y. I will work on reviewing this patch in detail.
> > 
> > OK, but why not require DM_ETH? The deadline passed a year ago.
> 
> Because we support boards without network ports?

Boards without networking should disable the relevant code, and as
needed the EFI code return the proper error code?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210909/d5ee6c32/attachment.sig>


More information about the U-Boot mailing list