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

sjg at google.com sjg at google.com
Mon Jul 29 21:22:35 UTC 2019


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 <sjg at chromium.org>
---

 tools/dtoc/fdt.py      | 2 ++
 tools/dtoc/test_fdt.py | 5 +++++
 2 files changed, 7 insertions(+)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list