summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-16 19:24:54 -0600
committerTom Rini <[email protected]>2026-03-30 16:59:17 -0600
commit2ee6606f3576d017ce2b914b3d4f858de562bebe (patch)
tree2b41a0f4b60db2cd29877d17211fb025be43a138
parent5c4357e902674a87182b1652739062040f7a6450 (diff)
test: Correct dependencies for SPL_UNIT_TEST
As exposed by "make randconfig", we have an issue with the dependencies for SPL_UNIT_TEST. In order to test SPL_DM_DEVICE_REMOVE we also need to have ensured that SPL_DM is enabled, so select that as well. Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--test/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Kconfig b/test/Kconfig
index 24105c13304..14b5b0e2a9a 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -15,6 +15,7 @@ config SPL_UNIT_TEST
bool "Unit tests in SPL"
depends on SPL
# We need to be able to unbind devices for tests to work
+ select SPL_DM
select SPL_DM_DEVICE_REMOVE
help
Select this to enable unit tests in SPL. Most test are designed for