From: Simon Glass Date: Wed, 24 Feb 2016 16:14:44 +0000 (-0700) Subject: image: Fix FIT and vboot tests to exit sandbox correctly X-Git-Tag: v2016.03-rc3~9^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0edd82e2448d4aa8f729ac1df8bb55121388a069;p=u-boot 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 Fixes: 5010d98f (sandbox: Use the reset driver to handle reset) --- diff --git a/test/image/test-fit.py b/test/image/test-fit.py index d5143cbb0f..db0649fca8 100755 --- a/test/image/test-fit.py +++ b/test/image/test-fit.py @@ -108,6 +108,10 @@ base_fdt = ''' model = "Sandbox Verified Boot Test"; compatible = "sandbox"; + reset@0 { + compatible = "sandbox,reset"; + }; + }; ''' diff --git a/test/vboot/sandbox-u-boot.dts b/test/vboot/sandbox-u-boot.dts index a1e853c9ca..63f8f401de 100644 --- a/test/vboot/sandbox-u-boot.dts +++ b/test/vboot/sandbox-u-boot.dts @@ -4,4 +4,7 @@ model = "Sandbox Verified Boot Test"; compatible = "sandbox"; + reset@0 { + compatible = "sandbox,reset"; + }; };