summaryrefslogtreecommitdiff
path: root/arch/sandbox/include/asm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-10-25 20:38:33 -0600
committerSimon Glass <sjg@chromium.org>2020-10-29 14:42:18 -0600
commit22b29cc8fb15f611e8e2af6fde8627a32abea76d (patch)
treec04b463c63901c50087822c6d29a329fd1a9ca7a /arch/sandbox/include/asm
parent7b51bf770af349aa03f49cb9f445173ff2dc7fc7 (diff)
downloadu-boot-22b29cc8fb15f611e8e2af6fde8627a32abea76d.tar.gz
sandbox: Allow selection of SPL unit tests
Now that we have more than one test, add a way to select the test to run. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/include/asm')
-rw-r--r--arch/sandbox/include/asm/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/state.h b/arch/sandbox/include/asm/state.h
index f828d9d244..7547602dd1 100644
--- a/arch/sandbox/include/asm/state.h
+++ b/arch/sandbox/include/asm/state.h
@@ -93,6 +93,7 @@ struct sandbox_state {
bool show_of_platdata; /* Show of-platdata in SPL */
bool ram_buf_read; /* true if we read the RAM buffer */
bool run_unittests; /* Run unit tests */
+ const char *select_unittests; /* Unit test to run */
/* Pointer to information for each SPI bus/cs */
struct sandbox_spi_info spi[CONFIG_SANDBOX_SPI_MAX_BUS]