spl: SPL_DM_SPI_FLASH depends on SPL_DM_SPI
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 28 Aug 2025 13:52:35 +0000 (15:52 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 10 Sep 2025 19:44:44 +0000 (13:44 -0600)
The SPI flash driver does not build without SPI support enabled.

Fixes: 4151f4f822bb ("spl: Rework and tighten some dependencies")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Anshul Dalal <anshuld@ti.com>
common/spl/Kconfig

index ab05536..f34b96e 100644 (file)
@@ -1141,7 +1141,7 @@ config SPL_DM_SPI
 
 config SPL_DM_SPI_FLASH
        bool "Support SPI DM FLASH drivers in SPL"
-       depends on SPL_DM
+       depends on SPL_DM_SPI
        help
          Enable support for SPI DM flash drivers in SPL.