[Pdbg] [PATCH v2 1/4] libpdbg: Properties for / in system tree are attached to root node
Amitay Isaacs
amitay at ozlabs.org
Thu Feb 27 15:25:25 AEDT 2020
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
libpdbg/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libpdbg/device.c b/libpdbg/device.c
index 66527ed..48f2c58 100644
--- a/libpdbg/device.c
+++ b/libpdbg/device.c
@@ -707,7 +707,7 @@ bool pdbg_targets_init(void *fdt)
}
/* Root node needs to be valid when this function returns */
- pdbg_dt_root = dt_new_node("", NULL, 0);
+ pdbg_dt_root = dt_new_node("", dtb->system.fdt, 0);
if (!pdbg_dt_root)
return false;
--
2.24.1
More information about the Pdbg
mailing list