mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
Add fdt_find_node_by_type() and fdt_find_compatible_node() to LIBFDT
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
This commit is contained in:
parent
1a861169bc
commit
9675ee7208
2 changed files with 149 additions and 18 deletions
|
@ -78,6 +78,12 @@ int fdt_subnode_offset_namelen(const void *fdt, int parentoffset,
|
|||
int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name);
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue