[PATCH 2/2] fdtgrep: fix fdtgrep_find_regions() error with some device trees

Simon Glass sjg at chromium.org
Thu Jan 9 21:04:10 CET 2020


On Thu, 9 Jan 2020 at 09:35, Anatolij Gustschin <agust at denx.de> wrote:
>
> With some device trees (i.e. i.MX6 SoC) and longer REMOVE_PROPS list
> the fdtgrep tool stops with "Internal error with fdtgrep_find_regions()".
> Increase 'max_regions' count to avoid such errors.
>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  tools/fdtgrep.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Wow that's a lot. I wonder if we should adjust it to be unlimited?


More information about the U-Boot mailing list