[fdt] Provide ability to locate the parent device node

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-05-30 16:37:28 +01:00
parent d64250918c
commit 1762568ec5
3 changed files with 109 additions and 1 deletions

View File

@@ -170,6 +170,8 @@ fdt_reservations ( struct fdt *fdt ) {
extern int fdt_describe ( struct fdt *fdt, unsigned int offset,
struct fdt_descriptor *desc );
extern int fdt_parent ( struct fdt *fdt, unsigned int offset,
unsigned int *parent );
extern int fdt_path ( struct fdt *fdt, const char *path,
unsigned int *offset );
extern int fdt_alias ( struct fdt *fdt, const char *name,