From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Fri, 10 Jan 2020 09:04:10 +1300 Subject: [PATCH 2/2] fdtgrep: fix fdtgrep_find_regions() error with some device trees In-Reply-To: <20200108203516.22268-2-agust@denx.de> References: <20200108203516.22268-1-agust@denx.de> <20200108203516.22268-2-agust@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 9 Jan 2020 at 09:35, Anatolij Gustschin 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 > --- > tools/fdtgrep.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass Wow that's a lot. I wonder if we should adjust it to be unlimited?