Skip to contentSkip to conversation

test/py: use valid device tree in test_fit.py

PATCH New Heinrich Schuchardt 3 participants 3 messages Dec 18, 2019 – Jan 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 test/py/tests/test_fit.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
test/py/tests/test_fit.py +6 -3
index 356d9a20f2..84b3f95850 100755
@@ -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

#2 lore raw

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

In reply to Heinrich Schuchardt
Quoted 5 lines · Heinrich Schuchardt

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200116/1401fe83/attachment.sig>