test/py: use valid device tree in test_fit.py
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 18 Dec 2019 10:05:59 +0000 (11:05 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 16 Jan 2020 00:50:31 +0000 (19:50 -0500)
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>
test/py/tests/test_fit.py

index 356d9a20f2991151838083b30064b6546050975c..84b3f9585057ed1f0a32af256c8f275bf1e6bdcf 100755 (executable)
@@ -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>;
        };
-
 };
 '''