[PATCH] fixup! commands: of_property: Extend command usage on external dtb

Michael Riesch michael.riesch at wolfvision.net
Tue Jun 29 05:04:45 PDT 2021


---
 commands/of_property.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/of_property.c b/commands/of_property.c
index 41bb5f71b..063e97775 100644
--- a/commands/of_property.c
+++ b/commands/of_property.c
@@ -346,7 +346,7 @@ static int do_of_property(int argc, char *argv[])
 			return -errno;
 		}
 
-		root = of_unflatten_dtb(fdt);
+		root = of_unflatten_dtb(fdt, size);
 
 		free(fdt);
 	}
-- 
2.20.1




More information about the barebox mailing list