spl: SPL_DM_SPI_FLASH depends on SPL_DM_SPI

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>
This commit is contained in:
Heinrich Schuchardt 2025-08-28 15:52:35 +02:00 committed by Tom Rini
parent 1a7882de8c
commit 2083378ff0

View File

@ -1141,7 +1141,7 @@ config SPL_DM_SPI
config SPL_DM_SPI_FLASH config SPL_DM_SPI_FLASH
bool "Support SPI DM FLASH drivers in SPL" bool "Support SPI DM FLASH drivers in SPL"
depends on SPL_DM depends on SPL_DM_SPI
help help
Enable support for SPI DM flash drivers in SPL. Enable support for SPI DM flash drivers in SPL.