]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
test: Correct dependencies for SPL_UNIT_TEST
authorTom Rini <trini@konsulko.com>
Tue, 17 Mar 2026 01:24:54 +0000 (19:24 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 30 Mar 2026 22:59:17 +0000 (16:59 -0600)
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 <trini@konsulko.com>
test/Kconfig

index 24105c133049f8e08b84de41644fe6ff1f410def..14b5b0e2a9a4a7ccdabc3711dfab2fa135926534 100644 (file)
@@ -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