[PATCH 1/1] test/py: use valid device tree in test_fit.py

Heinrich Schuchardt xypron.glpk at gmx.de
Wed Dec 18 11:05:59 CET 2019


The device tree compiler expects that a node with a unit-address has a reg
property.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 test/py/tests/test_fit.py | 9 ++++++---
 1 file 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 at 0 {
 		compatible = "sandbox,reset";
+		reg = <0>;
 	};
-
 };
 '''

--
2.24.0



More information about the U-Boot mailing list