[U-Boot-Users] [PATCH 6/8] libfdt: Add and use a node iteration helper function.

Jerry Van Baren gvb.uboot at gmail.com
Sat Mar 1 20:02:40 CET 2008


Marian Balakowicz wrote:
> From: David Gibson <david at gibson.dropbear.id.au>
> 
> This patch adds an fdt_next_node() function which can be used to
> iterate through nodes of the tree while keeping track of depth.  This
> function is used to simplify the iteration code in a lot of other
> functions, and is also exported for use by library users.
> 
> Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
> ---
> 
>  include/libfdt.h |    6 +
>  libfdt/fdt.c     |   41 +++++++++
>  libfdt/fdt_ro.c  |  258 ++++++++++++++++++------------------------------------
>  3 files changed, 131 insertions(+), 174 deletions(-)

Hi Marian,

I've picked up this patchset, along with two other libfdt patchsets, in 
the u-boot-fdt subrepo.  I am holding back the changes for the next 
merge window.

<http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot/u-boot-fdt.git;a=commit;h=162fa0021d04495f1e514d2b50f28dddd031f688>

Did you cherry-pick this out of the u-boot-fdt subrepo or apply it 
yourself from David's patch?

I don't know how git will react if we both apply the same patch, 
possibly differently.  (I applied it by hand editing the patch to change 
the include/libfdt.h path and then using git-am to apply it.  I presume 
you either cherry-picked my application or did the same.)

Best regards,
gvb




More information about the U-Boot mailing list