[PATCH 09/11] dtoc: Add a subnode test for multiple nodes

Simon Glass sjg at chromium.org
Sat Mar 27 06:19:50 CET 2021


Add a new test that adds a subnode alongside an existing one, as well as
adding properties to a subnode. This will expand to adding multiple
subnodes in future patches. Put a node after the one we are adding to so
we can check that things sync correctly.

The testAddNode() test should be in the TestNode class since it is a node
test, so move it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/dtoc/test/dtoc_test_simple.dts |  4 +++
 tools/dtoc/test_fdt.py               | 42 ++++++++++++++++++++--------
 2 files changed, 34 insertions(+), 12 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list