aboutsummaryrefslogtreecommitdiff
path: root/test/py/u_boot_console_sandbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py/u_boot_console_sandbox.py')
-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 ce4ca7e55e..cef416d738 100644
--- a/test/py/u_boot_console_sandbox.py
+++ b/test/py/u_boot_console_sandbox.py
@@ -43,7 +43,12 @@ class ConsoleSandbox(ConsoleBase):
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
- fname = '/spl/u-boot-spl' if config_spl else '/u-boot'
+ config_vpl = bcfg.get('config_vpl', 'n') == 'y'
+ if config_vpl:
+ # Run TPL first, which runs VPL
+ fname = '/tpl/u-boot-tpl'
+ else:
+ fname = '/spl/u-boot-spl' if config_spl else '/u-boot'
print(fname)
cmd = []
if self.config.gdbserver: