Browse Source

image: Fix FIT and vboot tests to exit sandbox correctly

When used with a device tree, sandbox now requires a 'reset' controller. Add
this to the device trees so that reset works and the tests can complete.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 5010d98f (sandbox: Use the reset driver to handle reset)
Simon Glass 8 years ago
parent
commit
0edd82e244
2 changed files with 7 additions and 0 deletions
  1. 4 0
      test/image/test-fit.py
  2. 3 0
      test/vboot/sandbox-u-boot.dts

+ 4 - 0
test/image/test-fit.py

@@ -108,6 +108,10 @@ base_fdt = '''
         model = "Sandbox Verified Boot Test";
         compatible = "sandbox";
 
+	reset@0 {
+		compatible = "sandbox,reset";
+	};
+
 };
 '''
 

+ 3 - 0
test/vboot/sandbox-u-boot.dts

@@ -4,4 +4,7 @@
 	model = "Sandbox Verified Boot Test";
 	compatible = "sandbox";
 
+	reset@0 {
+		compatible = "sandbox,reset";
+	};
 };