sandbox: Allow SPI flash bootdevs to be disabled for tests
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:48:02 +0000 (10:48 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:41 +0000 (18:11 -0500)
commit081bdc52c158dd3a4f73910cde3d7e70a5932d56
tree9698094a3e2a36c06e054c17d9e820d0cb11017f
parent22061d3d2ad10e1c67e36282a8c97f505a62c252
sandbox: Allow SPI flash bootdevs to be disabled for tests

Most tests don't want these and they can create a lot of noise. Add a way
to disable them. Use that in tests, with a flag provided to enable them
for tests that need this feature.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/state.c
arch/sandbox/include/asm/state.h
arch/sandbox/include/asm/test.h
include/test/test.h
test/test-main.c