mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-08 20:55:18 -05:00
libfdt: Add iterator over properties
Implement a macro based on fdt_first_property_offset and fdt_next_property_offset that provides a convenience to iterate over all the properties of a given node. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Simon Glass <sjg@chromium.org> [dwg: Removed a stray trailing blank line] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
902d0f0953
commit
d29126c90a
6 changed files with 152 additions and 0 deletions
1
tests/.gitignore
vendored
1
tests/.gitignore
vendored
|
|
@ -40,6 +40,7 @@ tmp.*
|
|||
/path_offset
|
||||
/path_offset_aliases
|
||||
/phandle_format
|
||||
/property_iterate
|
||||
/propname_escapes
|
||||
/references
|
||||
/root_node
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue