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

Marian Balakowicz m8 at semihalf.com
Mon Mar 3 10:21:32 CET 2008


Hi Jerry,

Jerry Van Baren wrote:
> 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(-)
> 
...
> 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.)

I've seen the patch on the ml, but than noticed it's already in the
custodian repo, so I took the easier approach and cherry picked from
u-boot-fdt.

Cheers,
m.





More information about the U-Boot mailing list