Re: [U-Boot] [PATCH v2 17/29] dtoc: Fix Fdt.GetNode() to handle a missing node

2018-07-09 Thread Simon Glass
On 6 July 2018 at 10:27, Simon Glass wrote: > At present the algortihm is not correct since it will return the root node > if the requested node is not found and there are no slashes in the > requested node name. Fix this and add a test. > > Signed-off-by: Simon Glass > --- > > Changes in v2: Non

[U-Boot] [PATCH v2 17/29] dtoc: Fix Fdt.GetNode() to handle a missing node

2018-07-06 Thread Simon Glass
At present the algortihm is not correct since it will return the root node if the requested node is not found and there are no slashes in the requested node name. Fix this and add a test. Signed-off-by: Simon Glass --- Changes in v2: None tools/dtoc/fdt.py | 5 - tools/dtoc/test_fdt.p