]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fdt: Add a subnodes iterator macro
authorThierry Reding <treding@nvidia.com>
Tue, 26 Aug 2014 15:33:55 +0000 (17:33 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 22:56:41 +0000 (16:56 -0600)
commit2f3760428ff3c4d5d1a087d016da5943921f0980
treece1382fa8e07746b958d85db78910c64b48a1c7b
parent9f85eee72a2a3918b2d5cd7b1bf88da69232dede
fdt: Add a subnodes iterator macro

The fdt_for_each_subnode() iterator macro provided by this patch can be
used to iterate over a device tree node's subnodes. At each iteration a
loop variable will be set to the next subnode.

Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
include/libfdt.h