summaryrefslogtreecommitdiff
path: root/test/py/u_boot_console_sandbox.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-07-15 08:06:22 -0400
committerTom Rini <trini@konsulko.com>2016-07-15 08:06:22 -0400
commitebe621d5fb2f5c15aff50e0610372f2751fd152f (patch)
tree12985b43f1a8500332de8e20274cc2dd26f5a040 /test/py/u_boot_console_sandbox.py
parent36b898b6bea839de7141b65df6ec02a97615c467 (diff)
parent1269625177f120d659f66b18de4b532b16c44561 (diff)
downloadu-boot-imx-ebe621d5fb2f5c15aff50e0610372f2751fd152f.zip
u-boot-imx-ebe621d5fb2f5c15aff50e0610372f2751fd152f.tar.gz
u-boot-imx-ebe621d5fb2f5c15aff50e0610372f2751fd152f.tar.bz2
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'test/py/u_boot_console_sandbox.py')
-rw-r--r--test/py/u_boot_console_sandbox.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/py/u_boot_console_sandbox.py b/test/py/u_boot_console_sandbox.py
index b440497..647e1f8 100644
--- a/test/py/u_boot_console_sandbox.py
+++ b/test/py/u_boot_console_sandbox.py
@@ -39,11 +39,15 @@ class ConsoleSandbox(ConsoleBase):
A u_boot_spawn.Spawn object that is attached to U-Boot.
"""
+ bcfg = self.config.buildconfig
+ config_spl = bcfg.get('config_spl', 'n') == 'y'
+ fname = '/spl/u-boot-spl' if config_spl else '/u-boot'
+ print fname
cmd = []
if self.config.gdbserver:
cmd += ['gdbserver', self.config.gdbserver]
cmd += [
- self.config.build_dir + '/u-boot',
+ self.config.build_dir + fname,
'-v',
'-d',
self.config.dtb