]> git.baikalelectronics.ru Git - uboot.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)
commite661efd661ed5ae01ecd05d8347e0c7bb4056ad2
treeeb4aaa6a74a641f6672b60d67ea82393ae2cb1c8
parentc0f1a58b8dffe2b507bdfe5b255ece0ec8844f66
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