Skip to content
Snippets Groups Projects
Commit 2f376042 authored by Thierry Reding's avatar Thierry Reding Committed by Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 9f85eee7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment