[U-Boot] [PATCH v4 06/19] libfdt: Add fdt_next_subnode() to permit easy subnode iteration

Jerry Van Baren gvb.uboot at gmail.com
Tue May 7 23:48:11 CEST 2013


Hi Simon,

On 05/07/2013 12:11 PM, Simon Glass wrote:
> Iterating through subnodes with libfdt is a little painful to write as we
> need something like this:

[snip]

> Signed-off-by: Simon Glass <sjg at chromium.org>
> (Cherry-picked from dtc commit 4e76ec79)

Acked-by: Gerald Van Baren <vanbaren at cideas.com>

Unless I hear otherwise, I'll drop this patch from my u-boot-fdt repo 
and let you (Tom?) apply it with the "sandbox" patch series since that 
is where it came from and where it logically belongs.

> ---
> Changes in v4:
> - Bring in upstream version of fdt_first/next_subnode()
>
> Changes in v3: None
> Changes in v2: None
>
>   include/libfdt.h | 22 ++++++++++++++++++++++
>   lib/libfdt/fdt.c | 28 ++++++++++++++++++++++++++++
>   2 files changed, 50 insertions(+)

Thanks,
gvb



More information about the U-Boot mailing list