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

Simon Glass sjg at chromium.org
Mon Jul 9 19:52:51 UTC 2018


On 6 July 2018 at 10:27, Simon Glass <sjg at chromium.org> 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 <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  tools/dtoc/fdt.py      | 5 ++++-
>  tools/dtoc/test_fdt.py | 3 +++
>  2 files changed, 7 insertions(+), 1 deletion(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list