[PATCH 09/24] image: Add a function to find a script in an image

Simon Glass sjg at chromium.org
Wed Oct 19 15:18:06 CEST 2022


Hi Heinrich,

On Mon, 17 Oct 2022 at 16:10, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On 10/17/22 22:29, Simon Glass wrote:
> > Split this functionality out of the 'source' command so it can be used
> > from another place.
>
> It is not obvious how this relates to changing the series.
>
> Please, provide a description of the future use of the extracted library
> function.
>
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> >   cmd/source.c    | 173 ++++++++++++++++++++++++++----------------------
> >   include/image.h |  13 ++++
>
> If you extract a library function, it should not live in cmd/source.c.
>

I can put it in boot/image*.c perhaps.

Regards,
Simon


More information about the U-Boot mailing list