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

Jassi Brar
2022-07-18T14:50:19Z

On Fri, 17 Jun 2022 at 09:02, Michal Simek <michal.simek@amd.com> wrote:
> On 6/9/22 14:30, Sughosh Ganu wrote:
> > From: Masami Hiramatsu <masami.hiramatsu@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.