u-boot/arch/sandbox/cpu
Simon Glass cb8970092f sandbox: Reduce keyed autoboot delay
The autoboot tests are a recent addition to U-Boot, providing much-needed
coverage in this area.

A side effect of the keyed autoboot test is that this feature is enabled
in sandbox always. This changes the autoboot prompt and confuses the
pytests. Some tests become slower, for example the vboot tests take about
27s now instead of 3s.

We don't actually need this feature enabled to be able to run the tests.
Add a switch to allow sandbox to turn it on and off as needed. Use this
in the one test that needs it.

Add a command-line flag in case this is desired in normal use.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 25c8b9f298 ("test: add first autoboot unit tests")
Reviewed-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2021-08-01 09:05:24 -06:00
..
cache.c sandbox: implement invalidate_icache_all() 2020-12-22 20:39:25 -07:00
cpu.c sandbox: Correct uninit conflict 2021-03-27 15:04:31 +13:00
eth-raw-os.c sandbox: eth-raw: do not close the console input 2020-11-05 09:11:30 -07:00
Makefile sandbox: implement invalidate_icache_all() 2020-12-22 20:39:25 -07:00
os.c sandbox: don't set SA_NODEFER in signal handler 2021-07-21 10:27:35 -06:00
sdl.c sandbox: Use hinting with the display 2021-07-21 10:27:34 -06:00
spl.c sandbox: Support executables for more phases 2021-07-21 10:27:34 -06:00
start.c sandbox: Reduce keyed autoboot delay 2021-08-01 09:05:24 -06:00
state.c sandbox: Reduce keyed autoboot delay 2021-08-01 09:05:24 -06:00
u-boot-spl.lds sandbox: use sections instead of symbols for getopt array boundaries 2021-05-24 14:21:30 -04:00
u-boot.lds sandbox: use sections instead of symbols for getopt array boundaries 2021-05-24 14:21:30 -04:00