summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-12-18 11:05:59 +0100
committerTom Rini <trini@konsulko.com>2020-01-15 19:50:31 -0500
commit954ab3c7b78ffb5ad469fed9306298631e4f54f7 (patch)
treedb50c283e1ca44e917b870778bb93791342c6d00 /test
parent327bb3bc1efd0ddd3976637df23f12aa5bc7e6fe (diff)
downloadu-boot-954ab3c7b78ffb5ad469fed9306298631e4f54f7.tar.gz
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>
Diffstat (limited to 'test')
-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 356d9a20f2..84b3f95850 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>;
};
-
};
'''