diff options
author | Gerald Van Baren <vanbaren@cideas.com> | 2007-03-31 12:13:43 -0400 |
---|---|---|
committer | Gerald Van Baren <vanbaren@cideas.com> | 2007-03-31 12:13:43 -0400 |
commit | 3af0d587d93e0be5f96e1b30fa41e662f8b0803e (patch) | |
tree | aff9722cacec7ea01fc4a8464df5a2dfce39f703 /include/libfdt.h | |
parent | fa3a74cec73dfd06a5ae35a9a3368200273aaa71 (diff) | |
download | u-boot-imx-3af0d587d93e0be5f96e1b30fa41e662f8b0803e.zip u-boot-imx-3af0d587d93e0be5f96e1b30fa41e662f8b0803e.tar.gz u-boot-imx-3af0d587d93e0be5f96e1b30fa41e662f8b0803e.tar.bz2 |
libfdt: Enhanced and published fdt_next_tag()
Enhanced the formerly private function _fdt_next_tag() to allow stepping
through the tree, used to produce a human-readable dump, and made
it part of the published interface.
Also added some comments.
Diffstat (limited to 'include/libfdt.h')
-rw-r--r-- | include/libfdt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libfdt.h b/include/libfdt.h index acdc72e..c4b3c24 100644 --- a/include/libfdt.h +++ b/include/libfdt.h @@ -81,6 +81,9 @@ struct fdt_property *fdt_get_property(const void *fdt, int nodeoffset, void *fdt_getprop(const void *fdt, int nodeoffset, const char *name, int *lenp); +uint32_t fdt_next_tag(const void *fdt, int offset, + int *nextoffset, char **namep); + /* Write-in-place functions */ int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, const void *val, int len); |