diff options
author | Simon Glass <sjg@chromium.org> | 2021-03-21 08:24:37 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-27 06:26:48 +0300 |
commit | 76677dd2b230ffb6d83e4acb85d2e7473ab74a4f (patch) | |
tree | 936b1ad8d7ecdc49e7523a43ed4d758f67b364ff /tools/dtoc/test | |
parent | 71719e15e870f47ab368966394a5f2f32bf98095 (diff) | |
download | u-boot-76677dd2b230ffb6d83e4acb85d2e7473ab74a4f.tar.xz |
dtoc: Add a subnode test for multiple nodes
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@chromium.org>
Diffstat (limited to 'tools/dtoc/test')
-rw-r--r-- | tools/dtoc/test/dtoc_test_simple.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/dtoc/test/dtoc_test_simple.dts b/tools/dtoc/test/dtoc_test_simple.dts index d8ab8613ee..b5c1274bb7 100644 --- a/tools/dtoc/test/dtoc_test_simple.dts +++ b/tools/dtoc/test/dtoc_test_simple.dts @@ -56,4 +56,8 @@ low-power; }; }; + + orig-node { + orig = <1 23 4>; + }; }; |