From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marian Balakowicz Date: Mon, 03 Mar 2008 10:21:32 +0100 Subject: [U-Boot-Users] [PATCH 6/8] libfdt: Add and use a node iteration helper function. In-Reply-To: <47C9A850.8020404@gmail.com> References: <20080229231920.8049.35680.stgit@hekate.izotz.org> <20080229231955.8049.59346.stgit@hekate.izotz.org> <47C9A850.8020404@gmail.com> Message-ID: <47CBC31C.9030707@semihalf.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jerry, Jerry Van Baren wrote: > Marian Balakowicz wrote: >> From: David Gibson >> >> 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 >> --- >> >> 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. > > > > > 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.