]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 16 Oct 2019 12:37:24 +0000 (18:07 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Oct 2019 19:18:31 +0000 (00:48 +0530)
commit77df1a9b665461e03e6da94cd9fb0399c85e715a
treeeb4aaa6a74a641f6672b60d67ea82393ae2cb1c8
parentc2af7fb1ff6f8d6489bdba4216128cbb08ae4243
mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH

DM_SPI_FLASH should require spi flash interface code for dm
version, so imply SPI_FLASH core by default if any board
enabled DM_SPI_FLASH.

This overcome the explicit enablement of CONFIG_SPI_FLASH on
respective boards when DM_SPI_FLASH being used.

Acked-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/Kconfig