]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: simplify CONFIG_DM_SPI_FLASH dependencies
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 4 Jun 2024 04:40:39 +0000 (06:40 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 9 Oct 2024 20:52:44 +0000 (14:52 -0600)
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
drivers/mtd/spi/Kconfig

index bedc4e970e4321a7084e0c166e9e9c9eed6f0103..63b0fd899fd81c3c55f89689930dcd4feb86aa7a 100644 (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