[PATCH v3 9/9] qemu-arm: get FDT from bloblist

Raymond Mao raymond.mao at linaro.org
Wed Dec 27 16:43:05 CET 2023


Hi Ilias and Simon,

On Wed, 27 Dec 2023 at 04:32, Ilias Apalodimas <ilias.apalodimas at linaro.org>
wrote:

> On Tue, 26 Dec 2023 at 11:48, Simon Glass <sjg at chromium.org> wrote:
> >
> > Hi,
> >
> > On Fri, Dec 22, 2023 at 9:32 PM Raymond Mao <raymond.mao at linaro.org>
> wrote:
> > >
> > > Get devicetree from a bloblist if it exists.
> > > If not, fallback to get FDT from the specified memory address.
> > >
> > > Signed-off-by: Raymond Mao <raymond.mao at linaro.org>
> > > ---
> > > Changes in v2
> > > - Refactor of board_fdt_blob_setup().
> > >
> > >  board/emulation/qemu-arm/qemu-arm.c | 12 ++++++++++--
> > >  1 file changed, 10 insertions(+), 2 deletions(-)
> > >
> >
> > I believe this patch will not be needed, since we have fdtdec_setup()
> > to do this.
>
> Yep, it's not. The board-specific portion should be limited to what
> happens if the bloblist is *not* detected by fdtdec_setup() (assuming
> the user wants to allow a fallback)
>
> But I think whether we allow a fallback or not is really something that
should be
considered by a board vendor other than a common logic in fdtdec_setup().
And a board vendor can also decide whether to allow a FDT that comes from
bloblist
by this custom function.

[...]

Regards,
Raymond


More information about the U-Boot mailing list