u-boot/arch/sandbox/include/asm
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
..
acpi_table.h acpi: Add a simple sandbox test 2020-04-16 14:36:28 +08:00
axi.h axi: Add AXI sandbox driver and simple emulator 2018-08-11 08:09:39 +02:00
bitops.h sandbox: Use the generic bitops headers 2015-11-05 10:52:14 -05:00
byteorder.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cache.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk.h clk: sandbox: Create a special fixed-rate driver 2021-03-26 17:03:08 +13:00
config.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cpu.h timer: Add a test for timer_timebase_fallback 2020-09-30 08:54:45 +08:00
dma-mapping.h dma-mapping: add <asm/dma-mapping.h> for all architectures 2020-02-20 15:09:54 +08:00
eth-raw-os.h sandbox: eth-raw: Add a SIMPLE_BUS to enumerate host interfaces 2018-07-26 14:08:19 -05:00
eth.h common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
getopt.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
global_data.h acpi: Add an acpi command 2020-04-30 17:16:12 +08:00
gpio.h gpio: Add a way to read 3-way strapping pins 2021-03-03 15:40:47 -05:00
handoff.h spl: Add support for passing handoff info to U-Boot proper 2018-11-26 08:25:37 -05:00
i2c.h sandbox: i2c: Move platdata structs to header files 2021-03-26 17:03:08 +13:00
io.h sandbox: Drop 'const' from sandbox_write() 2019-10-27 10:56:41 -06:00
linkage.h efi: Use asmlinkage for EFIAPI 2016-10-19 09:01:53 +02:00
malloc.h sandbox: Add a new header for the system malloc() 2020-02-05 19:33:46 -07:00
mbox.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
posix_types.h sandbox: Add architecture header files 2011-10-17 22:45:50 +02:00
power-domain.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
processor.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ptrace.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reset.h test: reset: Add tests for the managed API 2020-09-30 11:55:22 -04:00
rtc.h sandbox: i2c: Move platdata structs to header files 2021-03-26 17:03:08 +13:00
scmi_test.h firmware: scmi: fix inline comments and minor coding style issues 2021-04-12 17:17:11 -04:00
sdl.h sandbox: sdl: Add an option to double the screen size 2020-02-05 19:33:46 -07:00
sections.h sandbox: use sections instead of symbols for getopt array boundaries 2021-05-24 14:21:30 -04:00
serial.h sandbox: serial: Move priv into a header file 2021-01-05 12:24:41 -07:00
setjmp.h sandbox: Fix setjmp/longjmp 2018-09-23 21:55:30 +02:00
spi.h sandbox: spi: Drop unused sandbox_spi_parse_spec function 2020-12-22 20:39:25 -07:00
spl.h sandbox: Support executables for more phases 2021-07-21 10:27:34 -06:00
state.h sandbox: Reduce keyed autoboot delay 2021-08-01 09:05:24 -06:00
string.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
system.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test.h sandbox: cros-ec: Add tests for the Chromium OS EC PWM driver 2021-07-06 10:38:03 -06:00
types.h sandbox: Use correct phys_{addr, size}_t for PHYS_64BIT=y 2019-04-11 20:10:05 -06:00
u-boot-sandbox.h sandbox: implement reset 2020-11-05 09:11:30 -07:00
u-boot.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
unaligned.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00