]> git.sur5r.net Git - u-boot/commitdiff
image: Fix FIT and vboot tests to exit sandbox correctly
authorSimon Glass <sjg@chromium.org>
Wed, 24 Feb 2016 16:14:44 +0000 (09:14 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Feb 2016 15:53:10 +0000 (08:53 -0700)
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)
test/image/test-fit.py
test/vboot/sandbox-u-boot.dts

index d5143cbb0fd2aed4ce313494f762e81990f3e9aa..db0649fca8d0138103a4bfc7b26246138728ba92 100755 (executable)
@@ -108,6 +108,10 @@ base_fdt = '''
         model = "Sandbox Verified Boot Test";
         compatible = "sandbox";
 
+       reset@0 {
+               compatible = "sandbox,reset";
+       };
+
 };
 '''
 
index a1e853c9caaea4bf388727d5060b5b78619c1a4a..63f8f401de486a3598cee2d4477e852fd01d0a74 100644 (file)
@@ -4,4 +4,7 @@
        model = "Sandbox Verified Boot Test";
        compatible = "sandbox";
 
+       reset@0 {
+               compatible = "sandbox,reset";
+       };
 };