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

From: Richard Weinberger
Date: Wed Dec 22 2021 - 14:31:24 EST


Vincent,

----- Ursprüngliche Mail -----
> Von: "Vincent Whitchurch" <vincent.whitchurch@xxxxxxxx>
> An: "richard" <richard@xxxxxx>
> CC: "Johannes Berg" <johannes@xxxxxxxxxxxxxxxx>, "Jeff Dike" <jdike@xxxxxxxxxxx>, "anton ivanov"
> <anton.ivanov@xxxxxxxxxxxxxxxxxx>, "kernel" <kernel@xxxxxxxx>, "linux-kernel" <linux-kernel@xxxxxxxxxxxxxxx>,
> "linux-um" <linux-um@xxxxxxxxxxxxxxxxxxx>, "devicetree" <devicetree@xxxxxxxxxxxxxxx>
> Gesendet: Mittwoch, 22. Dezember 2021 11:23:57
> Betreff: Re: [PATCH 0/2] Devicetree support for UML

> 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?

I'll fix it myself. :-)

Thanks,
//richard