[PATCH] fixup! commands: of_property: Extend command usage on external dtb
Sascha Hauer
sha at pengutronix.de
Sat Jul 3 13:42:04 PDT 2021
On Tue, Jun 29, 2021 at 02:04:45PM +0200, Michael Riesch wrote:
> ---
> commands/of_property.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks for catching this. I had already fixed that up.
Sascha
>
> 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
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list