[PATCH v5 00/26] fdt: Make OF_BOARD a boolean option

Tuomas Tynkkynen tuomas.tynkkynen at iki.fi
Wed Oct 27 17:36:12 CEST 2021


On 27.10.2021 17.08, Simon Glass wrote:
> Hi François,
> On Tue, 26 Oct 2021 at 00:07, François Ozog <francois.ozog at linaro.org> wrote:
>> Hi Simon
>> Position unchanged on this series: adding fake dts for boards that generate their device tree in the dts directory is not good. If you have them in documentation the it is acceptable.
> I think we are going to have to disagree on this one. I actually used
> the qemu one in testing/development recently. We have to have a way to
> develop in-tree with U-Boot. It does not impinge on any of your use
> cases, so far as I know.

How about having the file just contain a single line

#include <generated-qemu-arm.dts>

... where this generated-*.dts is not checked to the source tree. Then 
of course comments on how to generate it via qemu -dumpdtb + dtc, with 
appropriate precautions (ie. must be regenerated if qemu command line is 
changed or qemu is upgraded), intended use case, and so forth.

More information about the U-Boot mailing list