public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/1] test/py: use valid device tree in test_fit.py
@ 2019-12-18 10:05 Heinrich Schuchardt
  2019-12-27 16:42 ` Simon Glass
  2020-01-16 14:41 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Heinrich Schuchardt @ 2019-12-18 10:05 UTC (permalink / raw)
  To: u-boot

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>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-16 14:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-18 10:05 [PATCH 1/1] test/py: use valid device tree in test_fit.py Heinrich Schuchardt
2019-12-27 16:42 ` Simon Glass
2020-01-16 14:41 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox