From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Sat, 01 Mar 2008 14:02:40 -0500 Subject: [U-Boot-Users] [PATCH 6/8] libfdt: Add and use a node iteration helper function. In-Reply-To: <20080229231955.8049.59346.stgit@hekate.izotz.org> References: <20080229231920.8049.35680.stgit@hekate.izotz.org> <20080229231955.8049.59346.stgit@hekate.izotz.org> Message-ID: <47C9A850.8020404@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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(-) 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. 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