[fdt] Add ability to locate node by phandle

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-07-22 13:37:05 +01:00
parent e01e5ff7c6
commit fb082bd4cd
3 changed files with 133 additions and 67 deletions
+2
View File
@@ -176,6 +176,8 @@ extern int fdt_path ( struct fdt *fdt, const char *path,
unsigned int *offset );
extern int fdt_alias ( struct fdt *fdt, const char *name,
unsigned int *offset );
extern int fdt_phandle ( struct fdt *fdt, uint32_t phandle,
unsigned int *offset );
extern const char * fdt_strings ( struct fdt *fdt, unsigned int offset,
const char *name, unsigned int *count );
extern const char * fdt_string ( struct fdt *fdt, unsigned int offset,