Re: [U-Boot] [PATCH 17/53] dtoc: Update Fdt.GetNode() to handle the root node

2019-07-29 Thread sjg
This function currently fails if the root node is requested. Requesting the root node is sometimes useful, so fix the bug. Signed-off-by: Simon Glass --- tools/dtoc/fdt.py | 2 ++ tools/dtoc/test_fdt.py | 5 + 2 files changed, 7 insertions(+) Applied to u-boot-dm, thanks!

[U-Boot] [PATCH 17/53] dtoc: Update Fdt.GetNode() to handle the root node

2019-07-20 Thread Simon Glass
This function currently fails if the root node is requested. Requesting the root node is sometimes useful, so fix the bug. Signed-off-by: Simon Glass --- tools/dtoc/fdt.py | 2 ++ tools/dtoc/test_fdt.py | 5 + 2 files changed, 7 insertions(+) diff --git a/tools/dtoc/fdt.py b/tools/dto