diff options
author | Simon Glass <sjg@chromium.org> | 2016-02-24 09:14:44 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-02-26 08:53:10 -0700 |
commit | 0edd82e2448d4aa8f729ac1df8bb55121388a069 (patch) | |
tree | 7703451119533db3f9a887677217d2e6e4f0da0f /test | |
parent | 2e33e761656f30651ed9ae16ecdbd5117d51d7d2 (diff) | |
download | u-boot-imx-0edd82e2448d4aa8f729ac1df8bb55121388a069.zip u-boot-imx-0edd82e2448d4aa8f729ac1df8bb55121388a069.tar.gz u-boot-imx-0edd82e2448d4aa8f729ac1df8bb55121388a069.tar.bz2 |
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)
Diffstat (limited to 'test')
-rwxr-xr-x | test/image/test-fit.py | 4 | ||||
-rw-r--r-- | test/vboot/sandbox-u-boot.dts | 3 |
2 files changed, 7 insertions, 0 deletions
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@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@0 { + compatible = "sandbox,reset"; + }; }; |