]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit1fd4d522fd97b86cb366b5bab54b2176203d7b3e
tree9698094a3e2a36c06e054c17d9e820d0cb11017f
parent6b483e1702d57c305154ee8747b596ee91e5f7cc
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