aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt2019-12-18 11:05:59 +0100
committerTom Rini2020-01-15 19:50:31 -0500
commit954ab3c7b78ffb5ad469fed9306298631e4f54f7 (patch)
treedb50c283e1ca44e917b870778bb93791342c6d00
parent327bb3bc1efd0ddd3976637df23f12aa5bc7e6fe (diff)
test/py: use valid device tree in test_fit.py
The device tree compiler expects that a node with a unit-address has a reg property. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
-rwxr-xr-xtest/py/tests/test_fit.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/py/tests/test_fit.py b/test/py/tests/test_fit.py
index 356d9a20f29..84b3f958505 100755
--- a/test/py/tests/test_fit.py
+++ b/test/py/tests/test_fit.py
@@ -83,13 +83,16 @@ base_fdt = '''
/dts-v1/;
/ {
- model = "Sandbox Verified Boot Test";
- compatible = "sandbox";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ model = "Sandbox Verified Boot Test";
+ compatible = "sandbox";
reset@0 {
compatible = "sandbox,reset";
+ reg = <0>;
};
-
};
'''