summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-01-27 23:57:52 -0700
committerSimon Glass <sjg@chromium.org>2016-01-28 21:01:24 -0700
commit77bcb22d77d1b1975c166755b012e0c0c1abb50a (patch)
tree1df1ae31de0dbcea171a55ac03f35ed81b9c6caf
parent78b39cc3e19e698c04c2417ed5f79e324c90595e (diff)
downloadu-boot-imx-77bcb22d77d1b1975c166755b012e0c0c1abb50a.zip
u-boot-imx-77bcb22d77d1b1975c166755b012e0c0c1abb50a.tar.gz
u-boot-imx-77bcb22d77d1b1975c166755b012e0c0c1abb50a.tar.bz2
test/py: pass test DTB to sandbox
This is required for at least "ut dm" to operate correctly. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
-rw-r--r--test/py/u_boot_console_sandbox.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/py/u_boot_console_sandbox.py b/test/py/u_boot_console_sandbox.py
index 267f8b0..bbf41e7 100644
--- a/test/py/u_boot_console_sandbox.py
+++ b/test/py/u_boot_console_sandbox.py
@@ -39,7 +39,12 @@ class ConsoleSandbox(ConsoleBase):
A u_boot_spawn.Spawn object that is attached to U-Boot.
"""
- return Spawn([self.config.build_dir + '/u-boot'])
+ cmd = [
+ self.config.build_dir + '/u-boot',
+ '-d',
+ self.config.build_dir + '/arch/sandbox/dts/test.dtb'
+ ]
+ return Spawn(cmd)
def kill(self, sig):
"""Send a specific Unix signal to the sandbox process.