From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Tue, 07 May 2013 17:48:11 -0400 Subject: [U-Boot] [PATCH v4 06/19] libfdt: Add fdt_next_subnode() to permit easy subnode iteration In-Reply-To: <1367943123-16013-7-git-send-email-sjg@chromium.org> References: <1367943123-16013-1-git-send-email-sjg@chromium.org> <1367943123-16013-7-git-send-email-sjg@chromium.org> Message-ID: <5189769B.5060708@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 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 > (Cherry-picked from dtc commit 4e76ec79) Acked-by: Gerald Van Baren 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