From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sun, 14 Feb 2016 18:36:47 -0700 Subject: [U-Boot] [PATCH 03/16] image: Fix FIT and vboot tests to exit sandbox correctly In-Reply-To: <1455500220-1324-1-git-send-email-sjg@chromium.org> References: <1455500220-1324-1-git-send-email-sjg@chromium.org> Message-ID: <1455500220-1324-4-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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) --- test/image/test-fit.py | 4 ++++ test/vboot/sandbox-u-boot.dts | 3 +++ 2 files changed, 7 insertions(+) diff --git a/test/image/test-fit.py b/test/image/test-fit.py index d5143cb..db0649f 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 at 0 { + compatible = "sandbox,reset"; + }; + }; ''' diff --git a/test/vboot/sandbox-u-boot.dts b/test/vboot/sandbox-u-boot.dts index a1e853c..63f8f40 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 at 0 { + compatible = "sandbox,reset"; + }; }; -- 2.7.0.rc3.207.g0ac5344