Re: [PATCH 0/2] Devicetree support for UML

From: Vincent Whitchurch
Date: Wed Dec 22 2021 - 05:24:01 EST


On Tue, Dec 21, 2021 at 10:13:03PM +0100, Richard Weinberger wrote:
> ----- Ursprüngliche Mail -----
> > Von: "Johannes Berg" <johannes@xxxxxxxxxxxxxxxx>
> > Gesendet: Dienstag, 21. Dezember 2021 21:56:50
> > On Tue, 2021-12-21 at 21:55 +0100, Richard Weinberger wrote:
> >> WARNING: unmet direct dependencies detected for OF_EARLY_FLATTREE
> >> Depends on [n]: OF [=n]
> >> Selected by [y]:
> >> - UML [=y]
> >>
> >> Please note that my UML config has CONFIG_OF=n.
> >>
> > Hm. So maybe that needs to be
> >
> > select OF_EARLY_FLATTREE if OF
>
> Yeah, IIRC arm and mips use such a pattern too. Vincent, what do you
> think?

Yes, that looks like the correct fix. I've tested it and it works. Do
you prefer to fix it up locally or should I repost?