[PATCH v5 20/23] FWU: synquacer: Generate dfu_alt_info from devicetree partition

Jassi Brar jaswinder.singh at linaro.org
Mon Jul 18 16:49:56 CEST 2022


On Fri, 17 Jun 2022 at 09:02, Michal Simek <michal.simek at amd.com> wrote:
> On 6/9/22 14:30, Sughosh Ganu wrote:
> > From: Masami Hiramatsu <masami.hiramatsu at linaro.org>
.....

> >
> > @@ -188,6 +178,9 @@ int board_late_init(void)
> >   {
> >       int ret;
> >
> > +     /* Make mmc available for EFI */
> > +     run_command("mmc dev 0", 0);
> > +
>
> What is this for?
>
> And I can't see any single note about in commit message.
>
For some reason, we get "No EFI system partition" during bootup and
the mmc does not show up in 'efidebug devices' unless we manually run
this (or mmc part) command.
    Though not elegant, I found similar being done by some other
platforms....  grep run_command -rw board/*
I am happy to learn the proper way of doing it.

Thanks.


More information about the U-Boot mailing list