mtd: simplify CONFIG_DM_SPI_FLASH dependencies

CONFIG_DM_SPI depends on CONFIG_DM. There is no need to list CONFIG_DM
explicitly as dependency for CONFIG_DM_SPI_FLASH

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Link: https://lore.kernel.org/r/20240604044039.27795-1-heinrich.schuchardt@canonical.com
This commit is contained in:
Heinrich Schuchardt
2024-06-04 06:40:39 +02:00
committed by Tom Rini
parent 2156bec98e
commit 93b9cd7920

View File

@@ -2,7 +2,7 @@ menu "SPI Flash Support"
config DM_SPI_FLASH
bool "Enable Driver Model for SPI flash"
depends on DM && DM_SPI
depends on DM_SPI
imply SPI_FLASH
help
Enable driver model for SPI flash. This SPI flash interface