[PATCH 8/8] image: Drop some other #ifdefs in image-board.c

Simon Glass sjg at chromium.org
Wed Sep 14 19:10:55 CEST 2022


Hi Heinrich,

On Wed, 14 Sept 2022 at 10:22, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On 8/28/22 20:32, Simon Glass wrote:
> > Remove all but a few that are difficult, relying on legacy CONFIG options
> > or optional global_data fields.
> >
> > Drop the duplicate function name in the comment for boot_get_cmdline().
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> >   boot/image-board.c | 67 +++++++++++++++++++++++++---------------------
> >   include/image.h    |  6 +++++
> >   2 files changed, 42 insertions(+), 31 deletions(-)
> >
> > diff --git a/boot/image-board.c b/boot/image-board.c
> > index 7a17ffb7f7f..1be0a359aba 100644
> > --- a/boot/image-board.c
> > +++ b/boot/image-board.c
> > @@ -16,6 +16,7 @@
> >   #include <fpga.h>
> >   #include <image.h>
> >   #include <init.h>
> > +#include <log.h>
>
> This looks like an unrelated change.

Yes, probably left in after some debugging. But it doesn't hurt, since
at present log.h is being included by one of the other includes...

Regards,
Simon


More information about the U-Boot mailing list