diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-08-13 11:01:52 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-08-13 11:01:52 -0500 |
commit | 8e2dd87eee01bb1b83beab7caf22b851c5cafb2c (patch) | |
tree | 47a43e05d90de7d64ed356bab5f15e8d89f5b5cc /include/libfdt.h | |
parent | cca34967cbd13ff6bd352be29e3f1cc88ab24c05 (diff) | |
parent | 9986bc3e40e899bea372a99a2bca4071bdf2e24b (diff) | |
download | u-boot-imx-8e2dd87eee01bb1b83beab7caf22b851c5cafb2c.zip u-boot-imx-8e2dd87eee01bb1b83beab7caf22b851c5cafb2c.tar.gz u-boot-imx-8e2dd87eee01bb1b83beab7caf22b851c5cafb2c.tar.bz2 |
Merge commit 'remotes/wd/master'
Conflicts:
MAKEALL
With any luck, this is the last MAKEALL merge conflict!
Diffstat (limited to 'include/libfdt.h')
-rw-r--r-- | include/libfdt.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/libfdt.h b/include/libfdt.h index f8bac73..340e89d 100644 --- a/include/libfdt.h +++ b/include/libfdt.h @@ -77,7 +77,13 @@ int fdt_subnode_offset_namelen(const void *fdt, int parentoffset, const char *name, int namelen); int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name); -int fdt_path_offset(const void *fdt, const char *path); +int fdt_find_node_by_path(const void *fdt, const char *path); +int fdt_find_node_by_type(const void *fdt, int nodeoffset, const char *type); + +int fdt_node_is_compatible(const void *fdt, int nodeoffset, + const char *compat); +int fdt_find_compatible_node(const void *fdt, int nodeoffset, + const char *type, const char *compat); struct fdt_property *fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp); |