[U-Boot] [PATCH 05/23] fdt: Add a subnodes iterator macro

Simon Glass sjg at chromium.org
Tue Aug 19 14:57:54 CEST 2014


Hi Thierry,

On 19 August 2014 06:22, Thierry Reding <thierry.reding at gmail.com> wrote:
> On Mon, Aug 18, 2014 at 12:11:03PM -0600, Simon Glass wrote:
>> On 18 August 2014 01:16, Thierry Reding <thierry.reding at gmail.com> wrote:
>> > From: Thierry Reding <treding at nvidia.com>
>> >
>> > The fdt_for_each_subnode() iterator macro provided by this patch can be
>> > used to iterate over a device tree node's subnodes. At each iteration a
>> > loop variable will be set to the next subnode.
>> >
>> > Signed-off-by: Thierry Reding <treding at nvidia.com>
>>
>> Acked-by: Simon Glass <sjg at chromium.org>
>>
>> Will this go upstream to dtc at some point?
>
> I suppose it could. I don't know anything about how code flows back and
> forth between dtc and U-Boot.

Well normally we try to send changes upstream to minimise the diff
between libfdt and U-Boot. You can join
devicetree-compiler at vger.kernel.org and send patches. If they get
modified upstream then I can apply a diff to U-Boot when they are
applied.

Regards,
Simon


More information about the U-Boot mailing list