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.schucha...@canonical.com>
---
 common/spl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index ab05536bd02..f34b96efc02 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -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.
 
-- 
2.43.0

Reply via email to